URL | workplacemassageandwellbeing.com/ |
IP | ![]() |
ASN | #27647 WEEBLY |
UserAgent | Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0 |
Referer | |
Report completed | 2022-10-07 10:15:54 UTC |
Status | Loading report.. |
IDS alerts | 0 |
Blocklist alert | 24 |
urlquery alerts | No alerts detected |
Tags | None |
Fully Qualifying Domain Name | Rank | First Seen | Last Seen | IP | Comment |
---|---|---|---|---|---|
ec.editmysite.com (2) | 12806 | 2017-01-29 21:50:35 UTC | 2022-10-07 08:29:52 UTC | ![]() |
|
static.zbcdn2.net (5) | 144238 | 2018-09-19 11:05:25 UTC | 2022-10-06 12:19:23 UTC | ![]() |
|
fonts.googleapis.com (1) | 8877 | 2013-06-10 20:14:26 UTC | 2022-10-07 04:56:19 UTC | ![]() |
|
workplacemassageandwellbeing.com (1) | 0 | 2022-09-20 17:57:01 UTC | 2022-10-06 00:20:06 UTC | ![]() |
Unknown ranking |
push.services.mozilla.com (1) | 2140 | 2015-09-03 10:29:36 UTC | 2022-10-07 05:03:51 UTC | ![]() |
|
www.weebly.com (1) | 21455 | 2014-01-19 01:07:09 UTC | 2022-10-07 08:29:51 UTC | ![]() |
|
maps.gstatic.com (1) | 0 | 2016-01-11 16:55:17 UTC | 2022-10-07 06:54:36 UTC | ![]() |
Domain (gstatic.com) ranked at: 540 |
stats.zotabox.com (3) | 31839 | 2015-04-25 01:24:35 UTC | 2022-10-07 08:38:29 UTC | ![]() |
|
firefox.settings.services.mozilla.com (2) | 867 | 2020-05-28 17:26:30 UTC | 2022-10-07 05:16:10 UTC | ![]() |
|
www.workplacemassageandwellbeing.com (23) | 0 | 2022-09-20 17:57:01 UTC | 2022-10-06 00:20:07 UTC | ![]() |
Unknown ranking |
ocsp.sca1b.amazontrust.com (2) | 1015 | 2017-03-03 15:20:51 UTC | 2019-03-27 04:05:54 UTC | ![]() |
|
www.editmysite.com (1) | 43381 | 2017-01-29 18:23:39 UTC | 2022-10-07 08:57:49 UTC | ![]() |
|
ssl.google-analytics.com (1) | 275 | 2017-01-30 05:00:07 UTC | 2022-10-07 05:25:30 UTC | ![]() |
|
contile.services.mozilla.com (1) | 1114 | 2021-05-27 18:32:35 UTC | 2022-10-07 04:53:54 UTC | ![]() |
|
ocsp.digicert.com (3) | 86 | 2012-05-21 07:02:23 UTC | 2022-10-07 05:26:28 UTC | ![]() |
|
cdn2.editmysite.com (25) | 11564 | 2012-10-02 18:27:39 UTC | 2022-10-07 06:33:41 UTC | ![]() |
|
img-getpocket.cdn.mozilla.net (6) | 1631 | 2017-09-01 03:40:57 UTC | 2022-10-07 04:45:59 UTC | ![]() |
|
static.zotabox.com (1) | 26406 | 2015-04-25 01:24:34 UTC | 2022-10-07 08:38:28 UTC | ![]() |
|
r3.o.lencr.org (6) | 344 | 2020-12-02 08:52:13 UTC | 2022-10-07 04:53:48 UTC | ![]() |
|
content-signature-2.cdn.mozilla.net (1) | 1152 | 2020-11-03 12:26:46 UTC | 2022-10-07 04:59:13 UTC | ![]() |
|
ocsp.pki.goog (6) | 175 | 2017-06-14 07:23:31 UTC | 2022-10-07 04:53:39 UTC | ![]() |
Scan Date | Severity | Indicator | Comment |
---|---|---|---|
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
2022-10-07 | 2 | workplacemassageandwellbeing.com | Sinkholed |
Date | UQ / IDS / BL | URL | IP |
---|---|---|---|
0 - 0 - 0 | www.womeninbusinessisu.com/wcw.htm | ![]() |
|
0 - 0 - 0 | www.womeninbusinessisu.com/wcw.html | ![]() |
|
0 - 0 - 0 | www.womeninbusinessisu.com/wcw.htm | ![]() |
|
0 - 0 - 1 | www.schmid-federer.ch/kontakt.html | ![]() |
|
0 - 0 - 8 | www.1electric.com/ | ![]() |
Date | UQ / IDS / BL | URL | IP |
---|---|---|---|
0 - 1 - 0 | www.gardendesignerapp.com/uploads/9/2/1/6/921 (...) | ![]() |
|
0 - 0 - 8 | c7gkus20.square.site/ | ![]() |
|
0 - 0 - 8 | w27nusd7.square.site/ | ![]() |
|
0 - 0 - 13 | btcoonect.weebly.com/ | ![]() |
|
0 - 0 - 54 | btconnect-109798.square.site/ | ![]() |
Date | UQ / IDS / BL | URL | IP |
---|---|---|---|
0 - 0 - 24 | workplacemassageandwellbeing.com/ | ![]() |
__ZBTPL__ = {
fleximages: function(obj) {
obj = obj || {};
var __t, __p = "";
with(obj) __p += '<script type="text/javascript" id="flex_images_js">\nvar $ = window.top.Zotabox.Core.jQuery;\n!function(t){function e(t,a,r,n){function o(t){r.maxRows&&d>r.maxRows||r.truncate&&t&&d>1?w[g][0].style.display="none":(w[g][4]&&(w[g][3].attr("src",w[g][4]),w[g][4]=""),w[g][0].style.width=l+"px",w[g][0].style.height=u+"px",w[g][0].style.display="block")}var g,l,s=1,d=1,f=t.width()-2,w=[],c=0,u=r.rowHeight;for(f||(f=t.width()-2),i=0;i<a.length;i++)if(w.push(a[i]),c+=a[i][2]+r.margin,c>=f){var m=w.length*r.margin;for(s=(f-m)/(c-m),u=Math.ceil(r.rowHeight*s),exact_w=0,l,g=0;g<w.length;g++)l=Math.ceil(w[g][2]*s),exact_w+=l+r.margin,exact_w>f&&(l-=exact_w-f),o();w=[],c=0,d++}for(g=0;g<w.length;g++)l=Math.floor(w[g][2]*s),h=Math.floor(r.rowHeight*s),o(!0);n||f==t.width()||e(t,a,r,!0)}t.fn.flexImages=function(a){var i=t.extend({container:".item",object:"img",rowHeight:180,maxRows:0,truncate:0},a);return this.each(function(){var a=t(this),r=t(a).find(i.container),n=[],o=(new Date).getTime(),h=window.getComputedStyle?getComputedStyle(r[0],null):r[0].currentStyle;for(i.margin=(parseInt(h.marginLeft)||0)+(parseInt(h.marginRight)||0)+(Math.round(parseFloat(h.borderLeftWidth))||0)+(Math.round(parseFloat(h.borderRightWidth))||0),j=0;j<r.length;j++){var g=r[j],l=parseInt(g.getAttribute("data-w")),s=l*(i.rowHeight/parseInt(g.getAttribute("data-h"))),d=t(g).find(i.object);n.push([g,l,s,d,d.data("src")])}e(a,n,i),t(window).off("resize.flexImages"+a.data("flex-t")),t(window).on("resize.flexImages"+o,function(){e(a,n,i)}),a.data("flex-t",o)})}}($);\n<\/script>\n<style type="text/css">\n.flex-images { overflow: hidden; }\n.flex-images .item { float: left; margin: 4px; border: 1px solid #eee; box-sizing: content-box; overflow: hidden; position: relative; }\n.flex-images .item img { display: block; width: auto; height: 100%; }\n\n</style>';
return __p
},
fonts: function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape;
with(obj) __p += "@font-face {\n font-display: swap;\n font-family: 'Zotabox';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot'); /* IE9 Compat Modes */\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot') format('embedded-opentype'), /* IE6-IE8 */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.woff') format('woff'), /* Pretty Modern Browsers */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.ttf') format('truetype'), /* Safari, Android, iOS */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.svg') format('svg'); /* Legacy iOS */\n}\n@font-face {\n font-display: swap;\n font-family: 'Zotabox2';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox2/ztb2.eot'); /* IE9 Compat Modes */\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox2/ztb2.eot') format('embedded-opentype'), /* IE6-IE8 */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox2/ztb2.woff') format('woff'), /* Pretty Modern Browsers */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox2/ztb2.ttf') format('truetype'), /* Safari, Android, iOS */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox2/ztb2.svg') format('svg'); /* Legacy iOS */\n}\n\n@font-face {\n font-display: swap;\n font-family: 'ztb3';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox3/ztb3.eot');\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox3/ztb3.eot') format('embedded-opentype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox3/ztb3.ttf') format('truetype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox3/ztb3.woff') format('woff'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox3/ztb3.svg') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-display: swap;\n font-family: 'zb-icons';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-icons/zb-icons.eot');\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-icons/zb-icons.eot') format('embedded-opentype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-icons/zb-icons.ttf') format('truetype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-icons/zb-icons.woff') format('woff'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-icons/zb-icons.svg') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n@font-face {\n font-display: swap;\n font-family: 'zb-all';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-all/zb-all.eot');\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-all/zb-all.eot') format('embedded-opentype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-all/zb-all.ttf') format('truetype'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-all/zb-all.woff') format('woff'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/zb-all/zb-all.svg') format('svg');\n font-weight: normal;\n font-style: normal;\n}\n@font-face {\n font-family: 'roboto-ZTB';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/roboto/Roboto-Medium.eot');\n src: local(':'), url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/roboto/Roboto-Medium.woff') format('woff'),\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/roboto/Roboto-Medium.ttf') format('truetype'),\n url('" + __e(STATIC_DOMAIN_URI) + '/asset/font/roboto/Roboto-Medium.svg\') format(\'svg\');\n font-weight: normal;\n font-style: normal;\n}\n.zb-icon,\n.zb-icon:before,\n.zb-icon:after {\n font-family: \'Zotabox\' !important;\n background: unset !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n font-size: 34px;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n[data-wzb] .icon-iconmonstr-lock-1-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-1-icon:before {\n content: "\\e807";\n}\n[data-wzb] .icon-iconmonstr-lock-2-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-2-icon:before {\n content: "\\e808";\n}\n[data-wzb] .icon-iconmonstr-lock-3-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-3-icon:before {\n content: "\\e809";\n}\n[data-wzb] .icon-iconmonstr-lock-4-icon .path1:before,\n#ztb-widget-container .icon-iconmonstr-lock-4-icon .path1:before {\n content: "\\e80a";\n color: rgb(255, 255, 255);\n}\n[data-wzb] .icon-iconmonstr-lock-4-icon .path2:before,\n#ztb-widget-container .icon-iconmonstr-lock-4-icon .path2:before {\n content: "\\e80b";\n margin-left: -1.14453125em;\n color: rgb(0, 0, 0);\n}\n[data-wzb] .icon-iconmonstr-lock-5-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-5-icon:before {\n content: "\\e80c";\n}\n[data-wzb] .icon-iconmonstr-lock-6-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-6-icon:before {\n content: "\\e80d";\n}\n[data-wzb] .icon-iconmonstr-lock-7-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-7-icon:before {\n content: "\\e80e";\n}\n[data-wzb] .icon-arrow-left:before,\n#ztb-widget-container .icon-arrow-left:before {\n content: "\\e600";\n}\n[data-wzb] .icon-arrow-right:before,\n#ztb-widget-container .icon-arrow-right:before {\n content: "\\e601";\n}\n[data-wzb] .icon-close:before,\n#ztb-widget-container .icon-close:before {\n content: "\\e602";\n left: -7px;\n position: absolute;\n top: -21px;\n margin: 0 !important;\n}\n.zb-tab-icon {\n background: unset !important;\n}\n[id*="zbwid-"] .icon-zotabox-logo:before,\n[data-wzb] .icon-zotabox-logo:before,\n#ztb-widget-container .icon-zotabox-logo:before {\n content: "\\e603";\n}\n[data-wzb] .icon-tab-icon-1:before,\n#ztb-widget-container .icon-tab-icon-1:before {\n content: "\\e800";\n}\n[data-wzb] .icon-tab-icon-2:before,\n#ztb-widget-container .icon-tab-icon-2:before {\n content: "\\e801";\n}\n[data-wzb] .icon-tab-icon-3:before,\n#ztb-widget-container .icon-tab-icon-3:before {\n content: "\\e802";\n}\n[data-wzb] .icon-tab-icon-4:before,\n#ztb-widget-container .icon-tab-icon-4:before {\n content: "\\e803";\n}\n[data-wzb] .icon-tab-icon-5:before,\n#ztb-widget-container .icon-tab-icon-5:before {\n content: "\\e804";\n}\n[data-wzb] .icon-tab-icon-6:before,\n#ztb-widget-container .icon-tab-icon-6:before {\n content: "\\e805";\n}\n[data-wzb] .icon-tab-icon-7:before,\n#ztb-widget-container .icon-tab-icon-7:before {\n content: "\\e806";\n}\n[data-wzb] .icon-iconmonstr-lock-1-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-1-icon:before {\n content: "\\e807";\n}\n[data-wzb] .icon-iconmonstr-lock-2-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-2-icon:before {\n content: "\\e808";\n}\n[data-wzb] .icon-iconmonstr-lock-3-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-3-icon:before {\n content: "\\e809";\n}\n[data-wzb] .icon-iconmonstr-lock-4-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-4-icon:before {\n content: "\\e80b";\n}\n[data-wzb] .icon-iconmonstr-lock-5-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-5-icon:before {\n content: "\\e80c";\n}\n[data-wzb] .icon-iconmonstr-lock-6-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-6-icon:before {\n content: "\\e80d";\n}\n[data-wzb] .icon-iconmonstr-lock-7-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-7-icon:before {\n content: "\\e80e";\n}\n[data-wzb] .icon-iconmonstr-lock-16-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-16-icon:before {\n content: "\\e80f";\n}\n[data-wzb] .icon-iconmonstr-lock-17-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-17-icon:before {\n content: "\\e810";\n}\n[data-wzb] .icon-iconmonstr-lock-icon:before,\n#ztb-widget-container .icon-iconmonstr-lock-icon:before {\n content: "\\e811";\n}\n[data-wzb] .icon-facebook-1-icon:before,\n#ztb-widget-container .icon-facebook-1-icon:before {\n content: "\\e90e";\n}\n[data-wzb] .icon-facebook-2-icon:before,\n#ztb-widget-container .icon-facebook-2-icon:before {\n content: "\\e90f";\n}\n[data-wzb] .icon-padlock18:before,\n#ztb-widget-container .icon-padlock18:before {\n content: "\\e812";\n}\n[data-wzb] .icon-zotabox-logo:before,\n#ztb-widget-container .icon-zotabox-logo:before {\n content: "\\e603";\n}\n\n.zb2-icon,\n.zb2-icon:before,\n.zb2-icon:after {\n font-family: \'Zotabox2\' !important;\n background: unset !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n font-size: 34px;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n[data-wzb] .icon-facebook-messenger-icon-01:before,\n#ztb-widget-container .icon-facebook-messenger-icon-01:before {\n content: "\\e90a";\n}\n[data-wzb] .icon-facebook-messenger-icon-02:before,\n#ztb-widget-container .icon-facebook-messenger-icon-02:before {\n content: "\\e90b";\n}\n[data-wzb] .icon-facebook-messenger-icon-03:before,\n#ztb-widget-container .icon-facebook-messenger-icon-03:before {\n content: "\\e90c";\n}\n[data-wzb] .icon-facebook-messenger-icon-04:before,\n#ztb-widget-container .icon-facebook-messenger-icon-04:before {\n content: "\\e90d";\n}\n[data-wzb] [data-wzb] .icon-close:before,\n#ztb-widget-container .icon-close:before {\n content: "\\e602";\n margin: 0 !important;\n}\n[data-wzb] .icon-ztb-company:before,\n#ztb-widget-container .icon-ztb-company:before {\n content: "\\e900";\n}\n[data-wzb] .icon-ztb-earth:before,\n#ztb-widget-container .icon-ztb-earth:before {\n content: "\\e901";\n}\n[data-wzb] .icon-ztb-icon-chat1:before,\n#ztb-widget-container .icon-ztb-icon-chat1:before {\n content: "\\e902";\n}\n[data-wzb] .icon-ztb-icon-chat2:before,\n#ztb-widget-container .icon-ztb-icon-chat2:before {\n content: "\\e903";\n}\n[data-wzb] .icon-ztb-icon-chat4:before,\n#ztb-widget-container .icon-ztb-icon-chat4:before {\n content: "\\e904";\n}\n[data-wzb] .icon-ztb-icon-email2:before,\n#ztb-widget-container .icon-ztb-icon-email2:before {\n content: "\\e905";\n}\n[data-wzb] .icon-ztb-icon-mail:before,\n#ztb-widget-container .icon-ztb-icon-mail:before {\n content: "\\e906";\n}\n[data-wzb] .icon-ztb-icon-send-mail:before,\n#ztb-widget-container .icon-ztb-icon-send-mail:before {\n content: "\\e907";\n}\n[data-wzb] .icon-ztb-mail:before,\n#ztb-widget-container .icon-ztb-mail:before {\n content: "\\e908";\n}\n[data-wzb] .icon-ztb-pencil:before,\n#ztb-widget-container .icon-ztb-pencil:before {\n content: "\\e909";\n}\n[data-wzb] .icon-ztb-phone:before,\n#ztb-widget-container .icon-ztb-phone:before {\n content: "\\e90a";\n}\n[data-wzb] .icon-ztb-star:before,\n#ztb-widget-container .icon-ztb-star:before {\n content: "\\e90b";\n}\n[data-wzb] .icon-ztb-user:before,\n#ztb-widget-container .icon-ztb-user:before {\n content: "\\e90c";\n}\n[data-wzb] .icon-icon-ztb-chat-01:before,\n#ztb-widget-container .icon-icon-ztb-chat-01:before {\n content: "\\e913";\n}\n[data-wzb] .icon-icon-ztb-chat-02:before,\n#ztb-widget-container .icon-icon-ztb-chat-02:before {\n content: "\\e914";\n}\n[data-wzb] .icon-tab-icon-none:before,\n#ztb-widget-container .icon-tab-icon-none:before {\n content: "";\n color: #d8d8d8;\n font-size: 50px;\n left: -6px;\n position: absolute;\n top: 6px;\n font-family: \'Zotabox\' !important;\n}\n\n.zb3-icon,\n.zb3-icon:before,\n.zb3-icon:after {\n font-family: \'ztb3\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n[data-wzb] .icon-0:before,\n#ztb-widget-container .icon-0:before {\n content: "\\e900";\n}\n[data-wzb] .icon-001:before,\n#ztb-widget-container .icon-001:before {\n content: "\\e901";\n}\n[data-wzb] .icon-002:before,\n#ztb-widget-container .icon-002:before {\n content: "\\e902";\n}\n[data-wzb] .icon-003:before,\n#ztb-widget-container .icon-003:before {\n content: "\\e903";\n}\n[data-wzb] .icon-004:before,\n#ztb-widget-container .icon-004:before {\n content: "\\e904";\n}\n[data-wzb] .icon-005:before,\n#ztb-widget-container .icon-005:before {\n content: "\\e905";\n}\n[data-wzb] .icon-006:before,\n#ztb-widget-container .icon-006:before {\n content: "\\e906";\n}\n[data-wzb] .icon-007:before,\n#ztb-widget-container .icon-007:before {\n content: "\\e907";\n}\n[data-wzb] .icon-008:before,\n#ztb-widget-container .icon-008:before {\n content: "\\e908";\n}\n[data-wzb] .icon-009:before,\n#ztb-widget-container .icon-009:before {\n content: "\\e909";\n}\n[data-wzb] .icon-010:before,\n#ztb-widget-container .icon-010:before {\n content: "\\e90a";\n}\n[data-wzb] .icon-011:before,\n#ztb-widget-container .icon-011:before {\n content: "\\e90b";\n}\n[data-wzb] .icon-012:before,\n#ztb-widget-container .icon-012:before {\n content: "\\e90c";\n}\n[data-wzb] .icon-013:before,\n#ztb-widget-container .icon-013:before {\n content: "\\e90d";\n}\n[data-wzb] .icon-014:before,\n#ztb-widget-container .icon-014:before {\n content: "\\e90e";\n}\n[data-wzb] .icon-015:before,\n#ztb-widget-container .icon-015:before {\n content: "\\e90f";\n}\n[data-wzb] .icon-016:before,\n#ztb-widget-container .icon-016:before {\n content: "\\e910";\n}\n[data-wzb] .icon-017:before,\n#ztb-widget-container .icon-017:before {\n content: "\\e911";\n}\n[data-wzb] .icon-018:before,\n#ztb-widget-container .icon-018:before {\n content: "\\e912";\n}\n[data-wzb] .icon-019:before,\n#ztb-widget-container .icon-019:before {\n content: "\\e913";\n}\n[data-wzb] .icon-020:before,\n#ztb-widget-container .icon-020:before {\n content: "\\e914";\n}\n[data-wzb] .icon-021:before,\n#ztb-widget-container .icon-021:before {\n content: "\\e915";\n}\n[data-wzb] .icon-022:before,\n#ztb-widget-container .icon-022:before {\n content: "\\e916";\n}\n[data-wzb] .icon-023:before,\n#ztb-widget-container .icon-023:before {\n content: "\\e917";\n}\n[data-wzb] .icon-024:before,\n#ztb-widget-container .icon-024:before {\n content: "\\e918";\n}\n[data-wzb] .icon-025:before,\n#ztb-widget-container .icon-025:before {\n content: "\\e919";\n}\n[data-wzb] .icon-026:before,\n#ztb-widget-container .icon-026:before {\n content: "\\e91a";\n}\n[data-wzb] .icon-027:before,\n#ztb-widget-container .icon-027:before {\n content: "\\e91b";\n}\n[data-wzb] .icon-028:before,\n#ztb-widget-container .icon-028:before {\n content: "\\e91c";\n}\n[data-wzb] .icon-029:before,\n#ztb-widget-container .icon-029:before {\n content: "\\e91d";\n}\n[data-wzb] .icon-030:before,\n#ztb-widget-container .icon-030:before {\n content: "\\e91e";\n}\n[data-wzb] .icon-031:before,\n#ztb-widget-container .icon-031:before {\n content: "\\e91f";\n}\n[data-wzb] .icon-032:before,\n#ztb-widget-container .icon-032:before {\n content: "\\e920";\n}\n[data-wzb] .icon-033:before,\n#ztb-widget-container .icon-033:before {\n content: "\\e921";\n}\n[data-wzb] .icon-034:before,\n#ztb-widget-container .icon-034:before {\n content: "\\e922";\n}\n[data-wzb] .icon-035:before,\n#ztb-widget-container .icon-035:before {\n content: "\\e923";\n}\n[data-wzb] .icon-036:before,\n#ztb-widget-container .icon-036:before {\n content: "\\e924";\n}\n[data-wzb] .icon-037:before,\n#ztb-widget-container .icon-037:before {\n content: "\\e925";\n}\n[data-wzb] .icon-038:before,\n#ztb-widget-container .icon-038:before {\n content: "\\e926";\n}\n[data-wzb] .icon-039:before,\n#ztb-widget-container .icon-039:before {\n content: "\\e927";\n}\n[data-wzb] .icon-040:before,\n#ztb-widget-container .icon-040:before {\n content: "\\e928";\n}\n[data-wzb] .icon-041:before,\n#ztb-widget-container .icon-041:before {\n content: "\\e929";\n}\n[data-wzb] .icon-042:before,\n#ztb-widget-container .icon-042:before {\n content: "\\e92a";\n}\n[data-wzb] .icon-043:before,\n#ztb-widget-container .icon-043:before {\n content: "\\e92b";\n}\n[data-wzb] .icon-044:before,\n#ztb-widget-container .icon-044:before {\n content: "\\e92c";\n}\n[data-wzb] .icon-045:before,\n#ztb-widget-container .icon-045:before {\n content: "\\e92d";\n}\n[data-wzb] .icon-046:before,\n#ztb-widget-container .icon-046:before {\n content: "\\e92e";\n}\n[data-wzb] .icon-047:before,\n#ztb-widget-container .icon-047:before {\n content: "\\e92f";\n}\n[data-wzb] .icon-048:before,\n#ztb-widget-container .icon-048:before {\n content: "\\e930";\n}\n[data-wzb] .icon-049:before,\n#ztb-widget-container .icon-049:before {\n content: "\\e931";\n}\n[data-wzb] .icon-050:before,\n#ztb-widget-container .icon-050:before {\n content: "\\e932";\n}\n[data-wzb] .icon-051:before,\n#ztb-widget-container .icon-051:before {\n content: "\\e933";\n}\n[data-wzb] .icon-052:before,\n#ztb-widget-container .icon-052:before {\n content: "\\e934";\n}\n[data-wzb] .icon-053:before,\n#ztb-widget-container .icon-053:before {\n content: "\\e935";\n}\n[data-wzb] .icon-054:before,\n#ztb-widget-container .icon-054:before {\n content: "\\e936";\n}\n[data-wzb] .icon-055:before,\n#ztb-widget-container .icon-055:before {\n content: "\\e937";\n}\n[data-wzb] .icon-056:before,\n#ztb-widget-container .icon-056:before {\n content: "\\e938";\n}\n[data-wzb] .icon-057:before,\n#ztb-widget-container .icon-057:before {\n content: "\\e939";\n}\n[data-wzb] .icon-058:before,\n#ztb-widget-container .icon-058:before {\n content: "\\e93a";\n}\n[data-wzb] .icon-059:before,\n#ztb-widget-container .icon-059:before {\n content: "\\e93b";\n}\n[data-wzb] .icon-060:before,\n#ztb-widget-container .icon-060:before {\n content: "\\e93c";\n}\n[data-wzb] .icon-061:before,\n#ztb-widget-container .icon-061:before {\n content: "\\e93d";\n}\n[data-wzb] .icon-062:before,\n#ztb-widget-container .icon-062:before {\n content: "\\e93e";\n}\n[data-wzb] .icon-063:before,\n#ztb-widget-container .icon-063:before {\n content: "\\e93f";\n}\n[data-wzb] .icon-064:before,\n#ztb-widget-container .icon-064:before {\n content: "\\e940";\n}\n[data-wzb] .icon-065:before,\n#ztb-widget-container .icon-065:before {\n content: "\\e941";\n}\n[data-wzb] .icon-066:before,\n#ztb-widget-container .icon-066:before {\n content: "\\e942";\n}\n[data-wzb] .icon-067:before,\n#ztb-widget-container .icon-067:before {\n content: "\\e943";\n}\n[data-wzb] .icon-068:before,\n#ztb-widget-container .icon-068:before {\n content: "\\e944";\n}\n[data-wzb] .icon-069:before,\n#ztb-widget-container .icon-069:before {\n content: "\\e945";\n}\n[data-wzb] .icon-070:before,\n#ztb-widget-container .icon-070:before {\n content: "\\e946";\n}\n[data-wzb] .icon-071:before,\n#ztb-widget-container .icon-071:before {\n content: "\\e947";\n}\n[data-wzb] .icon-072:before,\n#ztb-widget-container .icon-072:before {\n content: "\\e948";\n}\n[data-wzb] .icon-073:before,\n#ztb-widget-container .icon-073:before {\n content: "\\e949";\n}\n[data-wzb] .icon-074:before,\n#ztb-widget-container .icon-074:before {\n content: "\\e94a";\n}\n[data-wzb] .icon-075:before,\n#ztb-widget-container .icon-075:before {\n content: "\\e94b";\n}\n[data-wzb] .icon-076:before,\n#ztb-widget-container .icon-076:before {\n content: "\\e94c";\n}\n[data-wzb] .icon-077:before,\n#ztb-widget-container .icon-077:before {\n content: "\\e94d";\n}\n[data-wzb] .icon-078:before,\n#ztb-widget-container .icon-078:before {\n content: "\\e94e";\n}\n[data-wzb] .icon-079:before,\n#ztb-widget-container .icon-079:before {\n content: "\\e94f";\n}\n[data-wzb] .icon-080:before,\n#ztb-widget-container .icon-080:before {\n content: "\\e950";\n}\n[data-wzb] .icon-081:before,\n#ztb-widget-container .icon-081:before {\n content: "\\e951";\n}\n[data-wzb] .icon-082:before,\n#ztb-widget-container .icon-082:before {\n content: "\\e952";\n}\n[data-wzb] .icon-083:before,\n#ztb-widget-container .icon-083:before {\n content: "\\e953";\n}\n[data-wzb] .icon-084:before,\n#ztb-widget-container .icon-084:before {\n content: "\\e954";\n}\n[data-wzb] .icon-085:before,\n#ztb-widget-container .icon-085:before {\n content: "\\e955";\n}\n[data-wzb] .icon-086:before,\n#ztb-widget-container .icon-086:before {\n content: "\\e956";\n}\n[data-wzb] .icon-087:before,\n#ztb-widget-container .icon-087:before {\n content: "\\e957";\n}\n[data-wzb] .icon-088:before,\n#ztb-widget-container .icon-088:before {\n content: "\\e958";\n}\n[data-wzb] .icon-089:before,\n#ztb-widget-container .icon-089:before {\n content: "\\e959";\n}\n[data-wzb] .icon-090:before,\n#ztb-widget-container .icon-090:before {\n content: "\\e95a";\n}\n[data-wzb] .icon-091:before,\n#ztb-widget-container .icon-091:before {\n content: "\\e95b";\n}\n[data-wzb] .icon-092:before,\n#ztb-widget-container .icon-092:before {\n content: "\\e95c";\n}\n[data-wzb] .icon-094:before,\n#ztb-widget-container .icon-094:before {\n content: "\\e95d";\n}\n[data-wzb] .icon-095:before,\n#ztb-widget-container .icon-095:before {\n content: "\\e95e";\n}\n[data-wzb] .icon-096:before,\n#ztb-widget-container .icon-096:before {\n content: "\\e95f";\n}\n[data-wzb] .icon-097:before,\n#ztb-widget-container .icon-097:before {\n content: "\\e960";\n}\n[data-wzb] .icon-098:before,\n#ztb-widget-container .icon-098:before {\n content: "\\e961";\n}\n[data-wzb] .icon-099:before,\n#ztb-widget-container .icon-099:before {\n content: "\\e962";\n}\n[data-wzb] .icon-100:before,\n#ztb-widget-container .icon-100:before {\n content: "\\e963";\n}\n[data-wzb] .icon-101:before,\n#ztb-widget-container .icon-101:before {\n content: "\\e964";\n}\n[data-wzb] .icon-102:before,\n#ztb-widget-container .icon-102:before {\n content: "\\e965";\n}\n[data-wzb] .icon-103:before,\n#ztb-widget-container .icon-103:before {\n content: "\\e966";\n}\n[data-wzb] .icon-104:before,\n#ztb-widget-container .icon-104:before {\n content: "\\e967";\n}\n[data-wzb] .icon-105:before,\n#ztb-widget-container .icon-105:before {\n content: "\\e968";\n}\n[data-wzb] .icon-106:before,\n#ztb-widget-container .icon-106:before {\n content: "\\e969";\n}\n[data-wzb] .icon-107:before,\n#ztb-widget-container .icon-107:before {\n content: "\\e96a";\n}\n[data-wzb] .icon-108:before,\n#ztb-widget-container .icon-108:before {\n content: "\\e96b";\n}\n[data-wzb] .icon-109:before,\n#ztb-widget-container .icon-109:before {\n content: "\\e96c";\n}\n[data-wzb] .icon-110:before,\n#ztb-widget-container .icon-110:before {\n content: "\\e96d";\n}\n[data-wzb] .icon-111:before,\n#ztb-widget-container .icon-111:before {\n content: "\\e96e";\n}\n[data-wzb] .icon-112:before,\n#ztb-widget-container .icon-112:before {\n content: "\\e96f";\n}\n[data-wzb] .icon-113:before,\n#ztb-widget-container .icon-113:before {\n content: "\\e970";\n}\n[data-wzb] .icon-114:before,\n#ztb-widget-container .icon-114:before {\n content: "\\e971";\n}\n[data-wzb] .icon-115:before,\n#ztb-widget-container .icon-115:before {\n content: "\\e972";\n}\n[data-wzb] .icon-116:before,\n#ztb-widget-container .icon-116:before {\n content: "\\e973";\n}\n[data-wzb] .icon-117:before,\n#ztb-widget-container .icon-117:before {\n content: "\\e974";\n}\n[data-wzb] .icon-119:before,\n#ztb-widget-container .icon-119:before {\n content: "\\e975";\n}\n[data-wzb] .icon-120:before,\n#ztb-widget-container .icon-120:before {\n content: "\\e976";\n}\n[data-wzb] .icon-121:before,\n#ztb-widget-container .icon-121:before {\n content: "\\e977";\n}\n[data-wzb] .icon-122:before,\n#ztb-widget-container .icon-122:before {\n content: "\\e978";\n}\n[data-wzb] .icon-123:before,\n#ztb-widget-container .icon-123:before {\n content: "\\e979";\n}\n[data-wzb] .icon-124:before,\n#ztb-widget-container .icon-124:before {\n content: "\\e97a";\n}\n[data-wzb] .icon-125:before,\n#ztb-widget-container .icon-125:before {\n content: "\\e97b";\n}\n[data-wzb] .icon-126:before,\n#ztb-widget-container .icon-126:before {\n content: "\\e97c";\n}\n[data-wzb] .icon-127:before,\n#ztb-widget-container .icon-127:before {\n content: "\\e97d";\n}\n[data-wzb] .icon-128:before,\n#ztb-widget-container .icon-128:before {\n content: "\\e97e";\n}\n[data-wzb] .icon-129:before,\n#ztb-widget-container .icon-129:before {\n content: "\\e97f";\n}\n[data-wzb] .icon-130:before,\n#ztb-widget-container .icon-130:before {\n content: "\\e980";\n}\n[data-wzb] .icon-131:before,\n#ztb-widget-container .icon-131:before {\n content: "\\e981";\n}\n[data-wzb] .icon-zotabox_logo:before,\n#ztb-widget-container .icon-zotabox_logo:before {\n content: "\\e982";\n}\n\n\n\n[class^="zb-all-"], [class*=" zb-all-"],\n[class*=" zb-all-"]:before,\n[class^="zb-all-"]:before {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'zb-all\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.zb-all-align:before {\n content: "\\e900";\n}\n.zb-all-align-1:before {\n content: "\\e901";\n}\n.zb-all-align-2:before {\n content: "\\e902";\n}\n.zb-all-arrow_2:before {\n content: "\\e903";\n}\n.zb-all-arrow_3:before {\n content: "\\e904";\n}\n.zb-all-arrow_4:before {\n content: "\\e905";\n}\n.zb-all-arrow_5:before {\n content: "\\e906";\n}\n.zb-all-arrow_6:before {\n content: "\\e907";\n}\n.zb-all-arrow_7:before {\n content: "\\e908";\n}\n.zb-all-arrow_8:before {\n content: "\\e909";\n}\n.zb-all-arrow_9:before {\n content: "\\e90a";\n}\n.zb-all-arrow_10:before {\n content: "\\e90b";\n}\n.zb-all-btn_google_light_normal_ios .path1:before {\n content: "\\e90c";\n color: rgb(255, 255, 255);\n}\n.zb-all-btn_google_light_normal_ios .path2:before {\n content: "\\e90d";\n margin-left: -1em;\n color: rgb(66, 133, 244);\n}\n.zb-all-btn_google_light_normal_ios .path3:before {\n content: "\\e90e";\n margin-left: -1em;\n color: rgb(52, 168, 83);\n}\n.zb-all-btn_google_light_normal_ios .path4:before {\n content: "\\e90f";\n margin-left: -1em;\n color: rgb(251, 188, 5);\n}\n.zb-all-btn_google_light_normal_ios .path5:before {\n content: "\\e910";\n margin-left: -1em;\n color: rgb(234, 67, 53);\n}\n.zb-all-cart:before {\n content: "\\e911";\n}\n.zb-all-check-dashboard:before {\n content: "\\e912";\n}\n.zb-all-checked:before {\n content: "\\e913";\n}\n.zb-all-checkk:before {\n content: "\\e914";\n}\n.zb-all-chevrons-left:before {\n content: "\\e915";\n}\n.zb-all-chevrons-right:before {\n content: "\\e916";\n}\n.zb-all-close-button:before {\n content: "\\e917";\n}\n.zb-all-closee:before {\n content: "\\e918";\n}\n.zb-all-dashboard:before {\n content: "\\e919";\n}\n.zb-all-database:before {\n content: "\\e91a";\n}\n.zb-all-duplicate:before {\n content: "\\e91b";\n}\n.zb-all-edit:before {\n content: "\\e91c";\n}\n.zb-all-edit_field:before {\n content: "\\e91d";\n}\n.zb-all-editt:before {\n content: "\\e91e";\n}\n.zb-all-embed-data:before {\n content: "\\e91f";\n}\n.zb-all-embed-display:before {\n content: "\\e920";\n}\n.zb-all-embed-edit:before {\n content: "\\e921";\n}\n.zb-all-embed-edit-form:before {\n content: "\\e922";\n}\n.zb-all-embed-move:before {\n content: "\\e923";\n}\n.zb-all-embed-setting:before {\n content: "\\e924";\n}\n.zb-all-embed-trash:before {\n content: "\\e925";\n}\n.zb-all-facebook-icon-06:before {\n content: "\\e926";\n}\n.zb-all-flogo-HexRBG-Wht-58:before {\n content: "\\e927";\n color: #fff;\n}\n.zb-all-Free-Shipping:before {\n content: "\\e928";\n}\n.zb-all-global_icon:before {\n content: "\\e929";\n}\n.zb-all-icon_bullhorn:before {\n content: "\\e92a";\n}\n.zb-all-icon_comments:before {\n content: "\\e92b";\n}\n.zb-all-icon_users .path1:before {\n content: "\\e92c";\n color: rgb(0, 0, 0);\n}\n.zb-all-icon_users .path2:before {\n content: "\\e92d";\n margin-left: -1em;\n color: rgb(255, 255, 255);\n}\n.zb-all-icon-arrow-left:before {\n content: "\\e92e";\n}\n.zb-all-icon-arrow-right:before {\n content: "\\e92f";\n}\n.zb-all-icon-attach:before {\n content: "\\e930";\n}\n.zb-all-icon-bundle:before {\n content: "\\e931";\n}\n.zb-all-icon-buyx-for-money:before {\n content: "\\e932";\n}\n.zb-all-icon-buyx-gety:before {\n content: "\\e933";\n}\n.zb-all-icon-calender:before {\n content: "\\e934";\n}\n.zb-all-icon-cart-discount:before {\n content: "\\e935";\n}\n.zb-all-icon-check:before {\n content: "\\e936";\n}\n.zb-all-icon-close:before {\n content: "\\e937";\n}\n.zb-all-icon-close-01:before {\n content: "\\e938";\n}\n.zb-all-icon-close-02:before {\n content: "\\e939";\n}\n.zb-all-icon-document:before {\n content: "\\e93a";\n}\n.zb-all-icon-free-gift:before {\n content: "\\e93b";\n}\n.zb-all-icon-product-discount:before {\n content: "\\e93c";\n}\n.zb-all-icon-x:before {\n content: "\\e93d";\n}\n.zb-all-imageicon:before {\n content: "\\e93e";\n}\n.zb-all-integration:before {\n content: "\\e93f";\n}\n.zb-all-lightbulb:before {\n content: "\\e940";\n}\n.zb-all-menu-dot:before {\n content: "\\e941";\n}\n.zb-all-monitor:before {\n content: "\\e942";\n}\n.zb-all-more:before {\n content: "\\e943";\n}\n.zb-all-move:before {\n content: "\\e944";\n}\n.zb-all-noun_add:before {\n content: "\\e945";\n}\n.zb-all-on_icon:before {\n content: "\\e946";\n}\n.zb-all-plus-2:before {\n content: "\\e947";\n}\n.zb-all-plus-3:before {\n content: "\\e948";\n}\n.zb-all-pluss:before {\n content: "\\e949";\n}\n.zb-all-quote-01:before {\n content: "\\e94a";\n}\n.zb-all-scheduling:before {\n content: "\\e94b";\n}\n.zb-all-search_01:before {\n content: "\\e94c";\n}\n.zb-all-selectt:before {\n content: "\\e94d";\n}\n.zb-all-setting-01:before {\n content: "\\e94e";\n}\n.zb-all-settings:before {\n content: "\\e94f";\n}\n.zb-all-settings_icon:before {\n content: "\\e950";\n}\n.zb-all-trash:before {\n content: "\\e951";\n}\n.zb-all-trash_02:before {\n content: "\\e952";\n}\n.zb-all-webpage-multiple:before {\n content: "\\e953";\n}\n.zb-all-zotabox-logo:before {\n content: "\\e954";\n color: #db2c2c;\n}\n.zb-all-zotabox-z-logo:before {\n content: "\\e955";\n color: #db2c2c;\n}\n\n\n\n\n@media print {\n body [data-wzb]{\n display: none !important;\n }\n}\n';
return __p
},
scrollbar: function(obj) {
obj = obj || {};
var __t, __p = "";
with(obj) __p += "<script type=\"text/javascript\">\n\t/**\n * jQuery CSS Customizable Scrollbar\n *\n * Copyright 2015, Yuriy Khabarov\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *\n * If you found bug, please contact me via email <13real008@gmail.com>\n *\n * @author Yuriy Khabarov aka Gromo\n * @version 0.2.8\n * @url https://github.com/gromo/jquery.scrollbar/\n *\n */\n;\nvar $ = window.top.Zotabox.Core.jQuery;\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define(['Zotabox.Core.jQuery'], factory);\n } else {\n factory(window.top.Zotabox.Core.jQuery);\n }\n}(this, function ($) {\n 'use strict';\n\n // init flags & variables\n var debug = false;\n\n var browser = {\n data: {\n index: 0,\n name: 'scrollbar'\n },\n macosx: /mac/i.test(navigator.platform),\n mobile: /android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),\n overlay: null,\n scroll: null,\n scrolls: [],\n webkit: /webkit/i.test(navigator.userAgent) && !/edge\\/\\d+/i.test(navigator.userAgent)\n };\n\n browser.scrolls.add = function (instance) {\n this.remove(instance).push(instance);\n };\n browser.scrolls.remove = function (instance) {\n while ($.inArray(instance, this) >= 0) {\n this.splice($.inArray(instance, this), 1);\n }\n return this;\n };\n\n var defaults = {\n \"autoScrollSize\": true, // automatically calculate scrollsize\n \"autoUpdate\": true, // update scrollbar if content/container size changed\n \"debug\": false, // debug mode\n \"disableBodyScroll\": false, // disable body scroll if mouse over container\n \"duration\": 200, // scroll animate duration in ms\n \"ignoreMobile\": false, // ignore mobile devices\n \"ignoreOverlay\": false, // ignore browsers with overlay scrollbars (mobile, MacOS)\n \"scrollStep\": 30, // scroll step for scrollbar arrows\n \"showArrows\": false, // add class to show arrows\n \"stepScrolling\": true, // when scrolling to scrollbar mousedown position\n\n \"scrollx\": null, // horizontal scroll element\n \"scrolly\": null, // vertical scroll element\n\n \"onDestroy\": null, // callback function on destroy,\n \"onInit\": null, // callback function on first initialization\n \"onScroll\": null, // callback function on content scrolling\n \"onUpdate\": null // callback function on init/resize (before scrollbar size calculation)\n };\n\n\n var BaseScrollbar = function (container) {\n\n if (!browser.scroll) {\n browser.overlay = isScrollOverlaysContent();\n browser.scroll = getBrowserScrollSize();\n updateScrollbars();\n\n $(window).resize(function () {\n var forceUpdate = false;\n if (browser.scroll && (browser.scroll.height || browser.scroll.width)) {\n var scroll = getBrowserScrollSize();\n if (scroll.height !== browser.scroll.height || scroll.width !== browser.scroll.width) {\n browser.scroll = scroll;\n forceUpdate = true; // handle page zoom\n }\n }\n updateScrollbars(forceUpdate);\n });\n }\n\n this.container = container;\n this.namespace = '.scrollbar_' + browser.data.index++;\n this.options = $.extend({}, defaults, window.jQueryScrollbarOptions || {});\n this.scrollTo = null;\n this.scrollx = {};\n this.scrolly = {};\n\n container.data(browser.data.name, this);\n browser.scrolls.add(this);\n };\n\n BaseScrollbar.prototype = {\n\n destroy: function () {\n\n if (!this.wrapper) {\n return;\n }\n\n this.container.removeData(browser.data.name);\n browser.scrolls.remove(this);\n\n // init variables\n var scrollLeft = this.container.scrollLeft();\n var scrollTop = this.container.scrollTop();\n\n this.container.insertBefore(this.wrapper).css({\n \"height\": \"\",\n \"margin\": \"\",\n \"max-height\": \"\"\n })\n .removeClass('scroll-content scroll-scrollx_visible scroll-scrolly_visible')\n .off(this.namespace)\n .scrollLeft(scrollLeft)\n .scrollTop(scrollTop);\n\n this.scrollx.scroll.removeClass('scroll-scrollx_visible').find('div').andSelf().off(this.namespace);\n this.scrolly.scroll.removeClass('scroll-scrolly_visible').find('div').andSelf().off(this.namespace);\n\n this.wrapper.remove();\n\n $(document).add('body').off(this.namespace);\n\n if ($.isFunction(this.options.onDestroy)){\n this.options.onDestroy.apply(this, [this.container]);\n }\n },\n init: function (options) {\n\n // init variables\n var S = this,\n c = this.container,\n cw = this.containerWrapper || c,\n namespace = this.namespace,\n o = $.extend(this.options, options || {}),\n s = {x: this.scrollx, y: this.scrolly},\n w = this.wrapper;\n\n var initScroll = {\n \"scrollLeft\": c.scrollLeft(),\n \"scrollTop\": c.scrollTop()\n };\n\n // do not init if in ignorable browser\n if ((browser.mobile && o.ignoreMobile)\n || (browser.overlay && o.ignoreOverlay)\n || (browser.macosx && !browser.webkit) // still required to ignore nonWebKit browsers on Mac\n ) {\n return false;\n }\n\n // init scroll container\n if (!w) {\n this.wrapper = w = $('<div>').addClass('scroll-wrapper').addClass(c.attr('class'))\n .css('position', c.css('position') == 'absolute' ? 'absolute' : 'relative')\n .insertBefore(c).append(c);\n\n if (c.is('textarea')) {\n this.containerWrapper = cw = $('<div>').insertBefore(c).append(c);\n w.addClass('scroll-textarea');\n }\n\n cw.addClass('scroll-content').css({\n \"height\": \"auto\",\n \"margin-bottom\": browser.scroll.height * -1 + 'px',\n \"margin-right\": browser.scroll.width * -1 + 'px',\n \"max-height\": \"\"\n });\n\n c.on('scroll' + namespace, function (event) {\n if ($.isFunction(o.onScroll)) {\n o.onScroll.call(S, {\n \"maxScroll\": s.y.maxScrollOffset,\n \"scroll\": c.scrollTop(),\n \"size\": s.y.size,\n \"visible\": s.y.visible\n }, {\n \"maxScroll\": s.x.maxScrollOffset,\n \"scroll\": c.scrollLeft(),\n \"size\": s.x.size,\n \"visible\": s.x.visible\n });\n }\n s.x.isVisible && s.x.scroll.bar.css('left', c.scrollLeft() * s.x.kx + 'px');\n s.y.isVisible && s.y.scroll.bar.css('top', c.scrollTop() * s.y.kx + 'px');\n });\n\n /* prevent native scrollbars to be visible on #anchor click */\n w.on('scroll' + namespace, function () {\n w.scrollTop(0).scrollLeft(0);\n });\n\n if (o.disableBodyScroll) {\n var handleMouseScroll = function (event) {\n isVerticalScroll(event) ?\n s.y.isVisible && s.y.mousewheel(event) :\n s.x.isVisible && s.x.mousewheel(event);\n };\n w.on('MozMousePixelScroll' + namespace, handleMouseScroll);\n w.on('mousewheel' + namespace, handleMouseScroll);\n\n if (browser.mobile) {\n w.on('touchstart' + namespace, function (event) {\n var touch = event.originalEvent.touches && event.originalEvent.touches[0] || event;\n var originalTouch = {\n \"pageX\": touch.pageX,\n \"pageY\": touch.pageY\n };\n var originalScroll = {\n \"left\": c.scrollLeft(),\n \"top\": c.scrollTop()\n };\n $(document).on('touchmove' + namespace, function (event) {\n var touch = event.originalEvent.targetTouches && event.originalEvent.targetTouches[0] || event;\n c.scrollLeft(originalScroll.left + originalTouch.pageX - touch.pageX);\n c.scrollTop(originalScroll.top + originalTouch.pageY - touch.pageY);\n event.preventDefault();\n });\n $(document).on('touchend' + namespace, function () {\n $(document).off(namespace);\n });\n });\n }\n }\n if ($.isFunction(o.onInit)){\n o.onInit.apply(this, [c]);\n }\n } else {\n cw.css({\n \"height\": \"auto\",\n \"margin-bottom\": browser.scroll.height * -1 + 'px',\n \"margin-right\": browser.scroll.width * -1 + 'px',\n \"max-height\": \"\"\n });\n }\n\n // init scrollbars & recalculate sizes\n $.each(s, function (d, scrollx) {\n\n var scrollCallback = null;\n var scrollForward = 1;\n var scrollOffset = (d === 'x') ? 'scrollLeft' : 'scrollTop';\n var scrollStep = o.scrollStep;\n var scrollTo = function () {\n var currentOffset = c[scrollOffset]();\n c[scrollOffset](currentOffset + scrollStep);\n if (scrollForward == 1 && (currentOffset + scrollStep) >= scrollToValue)\n currentOffset = c[scrollOffset]();\n if (scrollForward == -1 && (currentOffset + scrollStep) <= scrollToValue)\n currentOffset = c[scrollOffset]();\n if (c[scrollOffset]() == currentOffset && scrollCallback) {\n scrollCallback();\n }\n }\n var scrollToValue = 0;\n\n if (!scrollx.scroll) {\n\n scrollx.scroll = S._getScroll(o['scroll' + d]).addClass('scroll-' + d);\n\n if(o.showArrows){\n scrollx.scroll.addClass('scroll-element_arrows_visible');\n }\n\n scrollx.mousewheel = function (event) {\n\n if (!scrollx.isVisible || (d === 'x' && isVerticalScroll(event))) {\n return true;\n }\n if (d === 'y' && !isVerticalScroll(event)) {\n s.x.mousewheel(event);\n return true;\n }\n\n var delta = event.originalEvent.wheelDelta * -1 || event.originalEvent.detail;\n var maxScrollValue = scrollx.size - scrollx.visible - scrollx.offset;\n\n if ((delta > 0 && scrollToValue < maxScrollValue) || (delta < 0 && scrollToValue > 0)) {\n scrollToValue = scrollToValue + delta;\n if (scrollToValue < 0)\n scrollToValue = 0;\n if (scrollToValue > maxScrollValue)\n scrollToValue = maxScrollValue;\n\n S.scrollTo = S.scrollTo || {};\n S.scrollTo[scrollOffset] = scrollToValue;\n setTimeout(function () {\n if (S.scrollTo) {\n c.stop().animate(S.scrollTo, 240, 'linear', function () {\n scrollToValue = c[scrollOffset]();\n });\n S.scrollTo = null;\n }\n }, 1);\n }\n\n event.preventDefault();\n return false;\n };\n\n scrollx.scroll\n .on('MozMousePixelScroll' + namespace, scrollx.mousewheel)\n .on('mousewheel' + namespace, scrollx.mousewheel)\n .on('mouseenter' + namespace, function () {\n scrollToValue = c[scrollOffset]();\n });\n\n // handle arrows & scroll inner mousedown event\n scrollx.scroll.find('.scroll-arrow, .scroll-element_track')\n .on('mousedown' + namespace, function (event) {\n\n if (event.which != 1) // lmb\n return true;\n\n scrollForward = 1;\n\n var data = {\n \"eventOffset\": event[(d === 'x') ? 'pageX' : 'pageY'],\n \"maxScrollValue\": scrollx.size - scrollx.visible - scrollx.offset,\n \"scrollbarOffset\": scrollx.scroll.bar.offset()[(d === 'x') ? 'left' : 'top'],\n \"scrollbarSize\": scrollx.scroll.bar[(d === 'x') ? 'outerWidth' : 'outerHeight']()\n };\n var timeout = 0, timer = 0;\n\n if ($(this).hasClass('scroll-arrow')) {\n scrollForward = $(this).hasClass(\"scroll-arrow_more\") ? 1 : -1;\n scrollStep = o.scrollStep * scrollForward;\n scrollToValue = scrollForward > 0 ? data.maxScrollValue : 0;\n } else {\n scrollForward = (data.eventOffset > (data.scrollbarOffset + data.scrollbarSize) ? 1\n : (data.eventOffset < data.scrollbarOffset ? -1 : 0));\n scrollStep = Math.round(scrollx.visible * 0.75) * scrollForward;\n scrollToValue = (data.eventOffset - data.scrollbarOffset -\n (o.stepScrolling ? (scrollForward == 1 ? data.scrollbarSize : 0)\n : Math.round(data.scrollbarSize / 2)));\n scrollToValue = c[scrollOffset]() + (scrollToValue / scrollx.kx);\n }\n\n S.scrollTo = S.scrollTo || {};\n S.scrollTo[scrollOffset] = o.stepScrolling ? c[scrollOffset]() + scrollStep : scrollToValue;\n\n if (o.stepScrolling) {\n scrollCallback = function () {\n scrollToValue = c[scrollOffset]();\n clearInterval(timer);\n clearTimeout(timeout);\n timeout = 0;\n timer = 0;\n };\n timeout = setTimeout(function () {\n timer = setInterval(scrollTo, 40);\n }, o.duration + 100);\n }\n\n setTimeout(function () {\n if (S.scrollTo) {\n c.animate(S.scrollTo, o.duration);\n S.scrollTo = null;\n }\n }, 1);\n\n return S._handleMouseDown(scrollCallback, event);\n });\n\n // handle scrollbar drag'n'drop\n scrollx.scroll.bar.on('mousedown' + namespace, function (event) {\n\n if (event.which != 1) // lmb\n return true;\n\n var eventPosition = event[(d === 'x') ? 'pageX' : 'pageY'];\n var initOffset = c[scrollOffset]();\n\n scrollx.scroll.addClass('scroll-draggable');\n\n $(document).on('mousemove' + namespace, function (event) {\n var diff = parseInt((event[(d === 'x') ? 'pageX' : 'pageY'] - eventPosition) / scrollx.kx, 10);\n c[scrollOffset](initOffset + diff);\n });\n\n return S._handleMouseDown(function () {\n scrollx.scroll.removeClass('scroll-draggable');\n scrollToValue = c[scrollOffset]();\n }, event);\n });\n }\n });\n\n // remove classes & reset applied styles\n $.each(s, function (d, scrollx) {\n var scrollClass = 'scroll-scroll' + d + '_visible';\n var scrolly = (d == \"x\") ? s.y : s.x;\n\n scrollx.scroll.removeClass(scrollClass);\n scrolly.scroll.removeClass(scrollClass);\n cw.removeClass(scrollClass);\n });\n\n // calculate init sizes\n $.each(s, function (d, scrollx) {\n $.extend(scrollx, (d == \"x\") ? {\n \"offset\": parseInt(c.css('left'), 10) || 0,\n \"size\": c.prop('scrollWidth'),\n \"visible\": w.width()\n } : {\n \"offset\": parseInt(c.css('top'), 10) || 0,\n \"size\": c.prop('scrollHeight'),\n \"visible\": w.height()\n });\n });\n\n // update scrollbar visibility/dimensions\n this._updateScroll('x', this.scrollx);\n this._updateScroll('y', this.scrolly);\n\n if ($.isFunction(o.onUpdate)){\n o.onUpdate.apply(this, [c]);\n }\n\n // calculate scroll size\n $.each(s, function (d, scrollx) {\n\n var cssOffset = (d === 'x') ? 'left' : 'top';\n var cssFullSize = (d === 'x') ? 'outerWidth' : 'outerHeight';\n var cssSize = (d === 'x') ? 'width' : 'height';\n var offset = parseInt(c.css(cssOffset), 10) || 0;\n\n var AreaSize = scrollx.size;\n var AreaVisible = scrollx.visible + offset;\n\n var scrollSize = scrollx.scroll.size[cssFullSize]() + (parseInt(scrollx.scroll.size.css(cssOffset), 10) || 0);\n\n if (o.autoScrollSize) {\n scrollx.scrollbarSize = parseInt(scrollSize * AreaVisible / AreaSize, 10);\n scrollx.scroll.bar.css(cssSize, scrollx.scrollbarSize + 'px');\n }\n\n scrollx.scrollbarSize = scrollx.scroll.bar[cssFullSize]();\n scrollx.kx = ((scrollSize - scrollx.scrollbarSize) / (AreaSize - AreaVisible)) || 1;\n scrollx.maxScrollOffset = AreaSize - AreaVisible;\n });\n\n c.scrollLeft(initScroll.scrollLeft).scrollTop(initScroll.scrollTop).trigger('scroll');\n },\n\n /**\n * Get scrollx/scrolly object\n *\n * @param {Mixed} scroll\n * @returns {jQuery} scroll object\n */\n _getScroll: function (scroll) {\n var types = {\n advanced: [\n '<div class=\"scroll-element\">',\n '<div class=\"scroll-element_corner\"></div>',\n '<div class=\"scroll-arrow scroll-arrow_less\"></div>',\n '<div class=\"scroll-arrow scroll-arrow_more\"></div>',\n '<div class=\"scroll-element_outer\">',\n '<div class=\"scroll-element_size\"></div>', // required! used for scrollbar size calculation !\n '<div class=\"scroll-element_inner-wrapper\">',\n '<div class=\"scroll-element_inner scroll-element_track\">', // used for handling scrollbar click\n '<div class=\"scroll-element_inner-bottom\"></div>',\n '</div>',\n '</div>',\n '<div class=\"scroll-bar\">', // required\n '<div class=\"scroll-bar_body\">',\n '<div class=\"scroll-bar_body-inner\"></div>',\n '</div>',\n '<div class=\"scroll-bar_bottom\"></div>',\n '<div class=\"scroll-bar_center\"></div>',\n '</div>',\n '</div>',\n '</div>'\n ].join(''),\n simple: [\n '<div class=\"scroll-element\">',\n '<div class=\"scroll-element_outer\">',\n '<div class=\"scroll-element_size\"></div>', // required! used for scrollbar size calculation !\n '<div class=\"scroll-element_track\"></div>', // used for handling scrollbar click\n '<div class=\"scroll-bar\"></div>', // required\n '</div>',\n '</div>'\n ].join('')\n };\n if (types[scroll]) {\n scroll = types[scroll];\n }\n if (!scroll) {\n scroll = types['simple'];\n }\n if (typeof (scroll) == 'string') {\n scroll = $(scroll).appendTo(this.wrapper);\n } else {\n scroll = $(scroll);\n }\n $.extend(scroll, {\n bar: scroll.find('.scroll-bar'),\n size: scroll.find('.scroll-element_size'),\n track: scroll.find('.scroll-element_track')\n });\n return scroll;\n },\n\n _handleMouseDown: function(callback, event) {\n\n var namespace = this.namespace;\n\n $(document).on('blur' + namespace, function () {\n $(document).add('body').off(namespace);\n callback && callback();\n });\n $(document).on('dragstart' + namespace, function (event) {\n event.preventDefault();\n return false;\n });\n $(document).on('mouseup' + namespace, function () {\n $(document).add('body').off(namespace);\n callback && callback();\n });\n $('body').on('selectstart' + namespace, function (event) {\n event.preventDefault();\n return false;\n });\n\n event && event.preventDefault();\n return false;\n },\n\n _updateScroll: function (d, scrollx) {\n\n var container = this.container,\n containerWrapper = this.containerWrapper || container,\n scrollClass = 'scroll-scroll' + d + '_visible',\n scrolly = (d === 'x') ? this.scrolly : this.scrollx,\n offset = parseInt(this.container.css((d === 'x') ? 'left' : 'top'), 10) || 0,\n wrapper = this.wrapper;\n\n var AreaSize = scrollx.size;\n var AreaVisible = scrollx.visible + offset;\n\n scrollx.isVisible = (AreaSize - AreaVisible) > 1; // bug in IE9/11 with 1px diff\n if (scrollx.isVisible) {\n scrollx.scroll.addClass(scrollClass);\n scrolly.scroll.addClass(scrollClass);\n containerWrapper.addClass(scrollClass);\n } else {\n scrollx.scroll.removeClass(scrollClass);\n scrolly.scroll.removeClass(scrollClass);\n containerWrapper.removeClass(scrollClass);\n }\n\n if (d === 'y') {\n if(container.is('textarea') || AreaSize < AreaVisible){\n containerWrapper.css({\n \"height\": (AreaVisible + browser.scroll.height) + 'px',\n \"max-height\": \"none\"\n });\n } else {\n containerWrapper.css({\n //\"height\": \"auto\", // do not reset height value: issue with height:100%!\n \"max-height\": (AreaVisible + browser.scroll.height) + 'px'\n });\n }\n }\n\n if (scrollx.size != container.prop('scrollWidth')\n || scrolly.size != container.prop('scrollHeight')\n || scrollx.visible != wrapper.width()\n || scrolly.visible != wrapper.height()\n || scrollx.offset != (parseInt(container.css('left'), 10) || 0)\n || scrolly.offset != (parseInt(container.css('top'), 10) || 0)\n ) {\n $.extend(this.scrollx, {\n \"offset\": parseInt(container.css('left'), 10) || 0,\n \"size\": container.prop('scrollWidth'),\n \"visible\": wrapper.width()\n });\n $.extend(this.scrolly, {\n \"offset\": parseInt(container.css('top'), 10) || 0,\n \"size\": this.container.prop('scrollHeight'),\n \"visible\": wrapper.height()\n });\n this._updateScroll(d === 'x' ? 'y' : 'x', scrolly);\n }\n }\n };\n\n var CustomScrollbar = BaseScrollbar;\n\n /*\n * Extend jQuery as plugin\n *\n * @param {Mixed} command to execute\n * @param {Mixed} arguments as Array\n * @return {jQuery}\n */\n $.fn.scrollbar = function (command, args) {\n if (typeof command !== 'string') {\n args = command;\n command = 'init';\n }\n if (typeof args === 'undefined') {\n args = [];\n }\n if (!$.isArray(args)) {\n args = [args];\n }\n this.not('body, .scroll-wrapper').each(function () {\n var element = $(this),\n instance = element.data(browser.data.name);\n if (instance || command === 'init') {\n if (!instance) {\n instance = new CustomScrollbar(element);\n }\n if (instance[command]) {\n instance[command].apply(instance, args);\n }\n }\n });\n return this;\n };\n\n /**\n * Connect default options to global object\n */\n $.fn.scrollbar.options = defaults;\n\n\n /**\n * Check if scroll content/container size is changed\n */\n\n var updateScrollbars = (function () {\n var timer = 0,\n timerCounter = 0;\n\n return function (force) {\n var i, container, options, scroll, wrapper, scrollx, scrolly;\n for (i = 0; i < browser.scrolls.length; i++) {\n scroll = browser.scrolls[i];\n container = scroll.container;\n options = scroll.options;\n wrapper = scroll.wrapper;\n scrollx = scroll.scrollx;\n scrolly = scroll.scrolly;\n if (force || (options.autoUpdate && wrapper && wrapper.is(':visible') &&\n (container.prop('scrollWidth') != scrollx.size || container.prop('scrollHeight') != scrolly.size || wrapper.width() != scrollx.visible || wrapper.height() != scrolly.visible))) {\n scroll.init();\n\n if (options.debug) {\n window.console && console.log({\n scrollHeight: container.prop('scrollHeight') + ':' + scroll.scrolly.size,\n scrollWidth: container.prop('scrollWidth') + ':' + scroll.scrollx.size,\n visibleHeight: wrapper.height() + ':' + scroll.scrolly.visible,\n visibleWidth: wrapper.width() + ':' + scroll.scrollx.visible\n }, true);\n timerCounter++;\n }\n }\n }\n if (debug && timerCounter > 10) {\n window.console && console.log('Scroll updates exceed 10');\n updateScrollbars = function () {};\n } else {\n clearTimeout(timer);\n timer = setTimeout(updateScrollbars, 300);\n }\n };\n })();\n\n /* ADDITIONAL FUNCTIONS */\n /**\n * Get native browser scrollbar size (height/width)\n *\n * @param {Boolean} actual size or CSS size, default - CSS size\n * @returns {Object} with height, width\n */\n function getBrowserScrollSize(actualSize) {\n\n if (browser.webkit && !actualSize) {\n return {\n \"height\": 0,\n \"width\": 0\n };\n }\n\n if (!browser.data.outer) {\n var css = {\n \"border\": \"none\",\n \"box-sizing\": \"content-box\",\n \"height\": \"200px\",\n \"margin\": \"0\",\n \"padding\": \"0\",\n \"width\": \"200px\"\n };\n browser.data.inner = $(\"<div>\").css($.extend({}, css));\n browser.data.outer = $(\"<div>\").css($.extend({\n \"left\": \"-1000px\",\n \"overflow\": \"scroll\",\n \"position\": \"absolute\",\n \"top\": \"-1000px\"\n }, css)).append(browser.data.inner).appendTo(\"body\");\n }\n\n browser.data.outer.scrollLeft(1000).scrollTop(1000);\n\n return {\n \"height\": Math.ceil((browser.data.outer.offset().top - browser.data.inner.offset().top) || 0),\n \"width\": Math.ceil((browser.data.outer.offset().left - browser.data.inner.offset().left) || 0)\n };\n }\n\n /**\n * Check if native browser scrollbars overlay content\n *\n * @returns {Boolean}\n */\n function isScrollOverlaysContent() {\n var scrollSize = getBrowserScrollSize(true);\n return !(scrollSize.height || scrollSize.width);\n }\n\n function isVerticalScroll(event) {\n var e = event.originalEvent;\n if (e.axis && e.axis === e.HORIZONTAL_AXIS)\n return false;\n if (e.wheelDeltaX)\n return false;\n return true;\n }\n\n\n /**\n * Extend AngularJS as UI directive\n * and expose a provider for override default config\n *\n */\n if (window.angular) {\n (function (angular) {\n angular.module('jQueryScrollbar', [])\n .provider('jQueryScrollbar', function () {\n var defaultOptions = defaults;\n return {\n setOptions: function (options) {\n angular.extend(defaultOptions, options);\n },\n $get: function () {\n return {\n options: angular.copy(defaultOptions)\n };\n }\n };\n })\n .directive('jqueryScrollbar', function (jQueryScrollbar, $parse) {\n return {\n \"restrict\": \"AC\",\n \"link\": function (scope, element, attrs) {\n var model = $parse(attrs.jqueryScrollbar),\n options = model(scope);\n element.scrollbar(options || jQueryScrollbar.options)\n .on('$destroy', function () {\n element.scrollbar('destroy');\n });\n }\n };\n });\n })(window.angular);\n }\n}));\n<\/script>";
return __p
},
"captcha/captcha": function(obj) {
obj = obj || {};
var __t, __p = "";
with(obj) __p += '<div class="zotabox-captcha">\n\t<div class="zbx-overlay" id="zbx-close-modal"></div>\n</div>\n<style type="text/css" id="zotabox-captcha-style">\n .zotabox-captcha .zbx-overlay {\n display: none;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -o-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n z-index: 9999999999;\n pointer-events: auto;\n }\n .zotabox-captcha iframe{\n position: fixed;\n display: none;\n top: 50%;\n left: 50%;\n margin-left: -' + (null == (__t = width / 2) ? "" : __t) + "px;\n margin-top: -" + (null == (__t = height / 2) ? "" : __t) + "px;\n z-index: 9999999999 !important;\n bottom: 0px;\n right: 0;\n width: " + (null == (__t = width) ? "" : __t) + "px;\n height: " + (null == (__t = height) ? "" : __t) + "px;\n border-radius: 4px;\n }\n .zotabox-captcha .close-captcha-popup{\n position: absolute;\n right: 44px;\n top: 4px;\n font-style: normal;\n }\n</style>";
return __p
},
"captcha/captchaHtml": function(obj) {
obj = obj || {};
var __t, __p = "",
__j = Array.prototype.join;
function print() {
__p += __j.call(arguments, "")
}
with(obj) __p += "<html>\n <head>\n <title>Zotabox reCaptcha</title>\n ", 2 == captchaVersion ? __p += '\n <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"><\/script>\n ' : __p += ' \n <script src="https://www.google.com/recaptcha/api.js?render=' + (null == (__t = options.sitekey) ? "" : __t) + '"><\/script>\n ', __p += '\n <style>\n body{\n margin: 0;\n padding: 0;\n box-sizing:border-box;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n width: 100%;\n min-width: 200px;\n }\n body *,\n *:after{\n box-sizing:border-box;\n font-size: 100%;\n }\n .close-captcha-popup:before {\n position: absolute;\n top: 35%;\n right: 0px;\n font-family: "Zotabox" !important;\n font-size: 38px;\n line-height: 38px;\n color: #fff;\n content: "\\e602";\n cursor: pointer;\n }\n div{\n background-color: transparent !important;\n opacity: 1 !important;\n }\n #captcha{\n /*background-color: #fff !important;*/\n /*padding-top: 30px;\n padding-bottom: 30px;*/\n border-radius: 4px;\n position: fixed;\n top: 50%;\n left: 50%;\n margin-left: -152px;\n margin-top: -39px;\n }\n #captcha>div{\n text-align: center;\n display: inline;\n }\n </style>\n <style>\n ' + (null == (__t = fontStyle) ? "" : __t) + '\n </style>\n </head>\n <body>\n <div class="close-captcha-popup"></div>\n <div id="captcha"></div>\n ', 2 == captchaVersion ? __p += '\n <script>\n var onloadCallback = function () {\n grecaptcha.render("captcha", options);\n };\n <\/script>\n ' : __p += ' \n <script type="text/javascript">\n grecaptcha.ready(options.readyCallback);\n <\/script>\n ', __p += "\n </body>\n</html>";
return __p
},
"mobile-button/bar-iframe": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape,
__j = Array.prototype.join;
function print() {
__p += __j.call(arguments, "")
}
with(obj) {
__p += '<!DOCTYPE html>\n<html>\n<head>\n <title></title>\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <meta http-equiv="Content-Security-Policy" content="default-src *; media-src *; img-src * \'self\' data: blob:; script-src * \'self\' \'unsafe-inline\' \'unsafe-eval\'; style-src * \'self\' \'unsafe-inline\'; font-src * data: ;">\n</head>\n\n<body data-wzb="SocialMobileTool">\n <style type="text/css">\n \n\n body {\n width: ' + __e(width) + "px;\n \n ", _.isEqual(backstyle, "light") ? __p += "\n background-color: rgba(255, 255, 255, " + __e(opacity) + ");\n color: rgb(26, 24, 25);\n " : _.isEqual(backstyle, "dark") && (__p += "\n background-color: rgba(26, 24, 25, " + __e(opacity) + ");\n color: rgb(255, 255, 255);\n "), __p += "\n }\n\n #swiper-frame {\n visibility: hidden;\n width: " + __e(width) + "px;\n margin: 0;\n margin-right: 0;\n }\n\n .swiper-container-free-mode > .swiper-wrapper {\n opacity:0;\n ", 6 < buttonsCountNum ? __p += "\n margin-top: -2px;\n " : __p += "\n margin-top: 0px;\n ", __p += '\n }\n \n </style>\n \n <div id="swiper-frame">\n <div class="swiper-container">\n <div class="swiper-wrapper">\n ' + (null == (__t = buttonsHtml) ? "" : __t) + '\n </div>\n <div class="swiper-scrollbar"></div>\n </div>\n </div>\n\n ';
var assetUri = [Zotabox.getDomainURIs().static, "__" + Zotabox.getConfig().version].join("/");
__p += '\n <script type="text/javascript" src="' + (null == (__t = assetUri) ? "" : __t) + "/asset/script/swiper.js\"><\/script>\n\n <script type=\"text/javascript\">\n window.swiperBar;\n Zotabox.addEvent('load', window, function() {\n var smtSwiperOpts = {\n scrollbar: '.swiper-scrollbar',\n scrollbarHide: false,\n effect: 'slide',\n setWrapperSize: true,\n spaceBetween: 4,\n freeMode: true,\n freeModeMomentumRatio: 0.5,\n freeModeSticky: true,\n nextButton: '.swiper-button-next',\n prevButton: '.swiper-button-prev',\n preventClicks: false,\n touchEventsTarget: 'wrapper',\n simulateTouch: true,\n iOSEdgeSwipeDetection: true,\n onInit: function() {\n var swiperFrame = Zotabox.Core.Sly('#swiper-frame').find(document.body);\n if (swiperFrame) {\n swiperFrame.style.visibility = 'visible';\n };\n }\n }\n ", 6 < buttonsCountNum ? __p += "\n smtSwiperOpts = Zotabox._.defaults({\n width: " + __e(width - 8) + ",\n slidesPerView: 6,\n slidesOffsetBefore: 4,\n slidesOffsetAfter: -4\n }, smtSwiperOpts);\n " : buttonsCountNum <= 6 && (__p += "\n smtSwiperOpts = Zotabox._.defaults({\n width: " + __e(width - 12) + ",\n slidesPerView: " + __e(buttonsCountNum) + ",\n slidesOffsetBefore: 2,\n slidesOffsetAfter: -2\n }, smtSwiperOpts);\n "), __p += "\n window.swiperBar = new Swiper('.swiper-container', smtSwiperOpts);\n });\n <\/script>\n <style type=\"text/css\">/*<![CDATA[*/" + (null == (__t = base_custom_css) ? "" : __t) + '/*]]>*/</style>\n <style type="text/css">/*<![CDATA[*/' + (null == (__t = custom_css) ? "" : __t) + "/*]]>*/</style>\n</body>\n</html>"
}
return __p
},
"mobile-button/base": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape,
__j = Array.prototype.join;
function print() {
__p += __j.call(arguments, "")
}
with(obj) __p += "font-face {\n font-family: 'Zotabox';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot'); /* IE9 Compat Modes */\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot') format('embedded-opentype'), /* IE6-IE8 */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.woff') format('woff'), /* Pretty Modern Browsers */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.ttf') format('truetype'), /* Safari, Android, iOS */\n url('" + __e(STATIC_DOMAIN_URI) + '/asset/font/Zotabox/ztb.svg\') format(\'svg\'); /* Legacy iOS */\n}\n\n@media screen and (min-width: 700px) {\n [data-wzb="SocialMobileTool"] {\n display: none !important;\n }\n}\n\n@media screen and (max-width: 700px) {\n [data-wzb="SocialMobileTool"] {\n display: block !important;\n }\n ', singleButton || (__p += "\n body{\n padding-bottom:58px;\n }\n "), __p += '\n\n [data-wzb="SocialMobileTool"] .zbx-trigger {\n position: fixed;\n\n ', "right" === buttonAlign ? __p += "\n left: auto !important;\n right: 20px !important;\n " : __p += "\n left: 20px !important;\n right: auto !important;\n ", __p += '\n\n top: auto !important;\n bottom: 20px !important;\n width: 50px !important;\n -moz-transform: rotate(0deg) !important;\n -webkit-transform: rotate(0deg) !important;\n transform:rotate(0deg) !important;\n z-index: 99999999;\n }\n\n [data-wzb="SocialMobileTool"] .zbx-trigger a {\n display: block;\n text-decoration: none;\n border-radius: 50% !important;\n -moz-border-radius: 50% !important;\n -webkit-border-radius: 50% !important;\n box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.15) inset, 0px 2px 11px rgba(128, 128, 128, 0.4);\n -moz-box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.15) inset, 0px 2px 11px rgba(128, 128, 128, 0.4);\n -webkit-box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.15) inset, 0px 2px 11px rgba(128, 128, 128, 0.4);\n }\n [data-wzb="SocialMobileTool"] .zbx-trigger a[data-attr="Advanced Discount"]{\n display: none;\n }\n [data-wzb="SocialMobileTool"] .zbx-trigger a i {\n display: block;\n text-align: center;\n font-size: 25px;\n height: 50px;\n width: 50px;\n margin-top: 5px;\n padding: 0;\n background: none;\n text-indent: unset;\n }\n\n [data-wzb="SocialMobileTool"] .zbx-trigger a i:before,\n [data-wzb="SocialMobileTool"] .zbx-trigger a i:after {\n padding: 0;\n margin: 0;\n font-size: 30px;\n line-height: 50px;\n width: 100%;\n height: 100%;\n }\n\n [data-wzb="SocialMobileTool"] {\n display: block !important;\n }\n\n [data-wzb="ContactForm"] .ztb-cf-trigger {\n display: none !important;\n }\n\n [data-wzb="FacebookChat"] .zb-fbc-trigger {\n display: none !important;\n }\n\n [data-wzb="StoreLocator"] .ztb-sl-trigger {\n display: none !important;\n }\n\n [data-wzb="EmailCapturePopup"] .zb-ecp-trigger,\n [data-wzb="SimplePopup"] .zb-sp-trigger,\n [data-wzb="SocialCouponPopup"] .zb-scp-trigger,\n [data-wzb="CountdownTimerPopup"] .zb-sp-trigger {\n display: none !important;\n }\n}\n\n@media (max-width: 768px) {\n [data-wzb="SocialMobileTool"] .zbx-pin-buttons li {\n width: 100%;\n }\n}\n\n[data-wzb="SocialMobileTool"] #zbx-iframe-container {\n width: 100%;\n height: 58px;\n position: fixed;\n bottom: -58px;\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.46), 0 2px 10px 0 rgba(0, 0, 0, 0.42);\n z-index: 999999;\n left: 0;\n}\n\n[data-wzb="SocialMobileTool"] #zbx-iframe-container iframe {\n width: 100%;\n height: 58px;\n border: medium none;\n}\n[data-wzb="SocialMobileTool"] .ztb-smt-right{\n right: 20px !important;\n left: auto !important;\n}\n[data-wzb="SocialMobileTool"] .ztb-smt-left{\n left: 20px !important;\n right: auto !important;\n}\n[data-wzb="SocialMobileTool"] [class^="zb-"],[data-wzb="SocialMobileTool"] [class*=" zb-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'zb-icons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\nbody [data-wzb="SocialMobileTool"] [class^="zb-"]:before{\n font-family: \'zb-icons\';\n}\n[data-wzb="SocialMobileTool"] .zb-back-01:before {\n content: "\\e900";\n}\n[data-wzb="SocialMobileTool"] .zb-back-02:before {\n content: "\\e901";\n}\n[data-wzb="SocialMobileTool"] .zb-back-03:before {\n content: "\\e902";\n}\n[data-wzb="SocialMobileTool"] .zb-back-04:before {\n content: "\\e903";\n}\n[data-wzb="SocialMobileTool"] .zb-back-05:before {\n content: "\\e904";\n}\n[data-wzb="SocialMobileTool"] .zb-back-06:before {\n content: "\\e905";\n}\n[data-wzb="SocialMobileTool"] .zb-back-07:before {\n content: "\\e906";\n}\n[data-wzb="SocialMobileTool"] .zb-back-09:before {\n content: "\\e907";\n}\n[data-wzb="SocialMobileTool"] .zb-back-10:before {\n content: "\\e908";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-01:before {\n content: "\\e909";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-02:before {\n content: "\\e90a";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-03:before {\n content: "\\e90b";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-04:before {\n content: "\\e90c";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-05:before {\n content: "\\e90d";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-06:before {\n content: "\\e90e";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-07:before {\n content: "\\e90f";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-08:before {\n content: "\\e910";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-09:before {\n content: "\\e911";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-10:before {\n content: "\\e912";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-11:before {\n content: "\\e913";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-12:before {\n content: "\\e914";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-13:before {\n content: "\\e915";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-14:before {\n content: "\\e916";\n}\n[data-wzb="SocialMobileTool"] .zb-back-to-top-15:before {\n content: "\\e917";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-01:before {\n content: "\\e918";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-02:before {\n content: "\\e919";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-03:before {\n content: "\\e91a";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-04:before {\n content: "\\e91b";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-05:before {\n content: "\\e91c";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-06:before {\n content: "\\e91d";\n}\n[data-wzb="SocialMobileTool"] .zb-bag-07:before {\n content: "\\e91e";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-01:before {\n content: "\\e91f";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-02:before {\n content: "\\e920";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-03:before {\n content: "\\e921";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-04:before {\n content: "\\e922";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-06:before {\n content: "\\e923";\n}\n[data-wzb="SocialMobileTool"] .zb-cart-07:before {\n content: "\\e924";\n}\n[data-wzb="SocialMobileTool"] .zb-chat-bubble-01:before {\n content: "\\e925";\n}\n[data-wzb="SocialMobileTool"] .zb-chat-bubble-02:before {\n content: "\\e926";\n}\n[data-wzb="SocialMobileTool"] .zb-chat-bubble-03:before {\n content: "\\e927";\n}\n[data-wzb="SocialMobileTool"] .zb-coupon-01:before {\n content: "\\e928";\n}\n[data-wzb="SocialMobileTool"] .zb-coupon-02:before {\n content: "\\e929";\n}\n[data-wzb="SocialMobileTool"] .zb-coupon-03:before {\n content: "\\e92a";\n}\n[data-wzb="SocialMobileTool"] .zb-coupon-04:before {\n content: "\\e92b";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-01:before {\n content: "\\e92c";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-02:before {\n content: "\\e92d";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-03:before {\n content: "\\e92e";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-04:before {\n content: "\\e92f";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-05:before {\n content: "\\e930";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-06:before {\n content: "\\e931";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-07:before {\n content: "\\e932";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-08:before {\n content: "\\e933";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-09:before {\n content: "\\e934";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-10:before {\n content: "\\e935";\n}\n[data-wzb="SocialMobileTool"] .zb-gift-11:before {\n content: "\\e936";\n}\n[data-wzb="SocialMobileTool"] .zb-home-01:before {\n content: "\\e937";\n}\n[data-wzb="SocialMobileTool"] .zb-home-02:before {\n content: "\\e938";\n}\n[data-wzb="SocialMobileTool"] .zb-home-03:before {\n content: "\\e939";\n}\n[data-wzb="SocialMobileTool"] .zb-home-04:before {\n content: "\\e93a";\n}\n[data-wzb="SocialMobileTool"] .zb-home-05:before {\n content: "\\e93b";\n}\n[data-wzb="SocialMobileTool"] .zb-home-06:before {\n content: "\\e93c";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-01:before {\n content: "\\e93d";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-02:before {\n content: "\\e93e";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-03:before {\n content: "\\e93f";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-04:before {\n content: "\\e940";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-05:before {\n content: "\\e941";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-07:before {\n content: "\\e942";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-08:before {\n content: "\\e943";\n}\n[data-wzb="SocialMobileTool"] .zb-mail-09:before {\n content: "\\e944";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-01:before {\n content: "\\e945";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-02:before {\n content: "\\e946";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-03:before {\n content: "\\e947";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-04:before {\n content: "\\e948";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-05:before {\n content: "\\e949";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-06:before {\n content: "\\e94a";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-07:before {\n content: "\\e94b";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-08:before {\n content: "\\e94c";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-09:before {\n content: "\\e94d";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-10:before {\n content: "\\e94e";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-11:before {\n content: "\\e94f";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-12:before {\n content: "\\e950";\n}\n[data-wzb="SocialMobileTool"] .zb-pin-13:before {\n content: "\\e951";\n}\n[data-wzb="SocialMobileTool"] .zb-shop-01:before {\n content: "\\e952";\n}\n[data-wzb="SocialMobileTool"] .zb-shop-02:before {\n content: "\\e953";\n}\n[data-wzb="SocialMobileTool"] .zb-shop-03:before {\n content: "\\e954";\n}\n[data-wzb="SocialMobileTool"] .zb-social-facebook:before {\n content: "\\e955";\n}\n[data-wzb="SocialMobileTool"] .zb-support-01:before {\n content: "\\e956";\n}\n[data-wzb="SocialMobileTool"] .zb-support-02:before {\n content: "\\e957";\n}\n[data-wzb="SocialMobileTool"] .zb-support-03:before {\n content: "\\e958";\n}\n[data-wzb="SocialMobileTool"] .zb-support-04:before {\n content: "\\e959";\n}\n[data-wzb="SocialMobileTool"] .zb-support-05:before {\n content: "\\e95a";\n}\n[data-wzb="SocialMobileTool"] .zb-support-06:before {\n content: "\\e95b";\n}\n[data-wzb="SocialMobileTool"] .zb-support-07:before {\n content: "\\e95c";\n}\n[data-wzb="SocialMobileTool"] .zb-support-08:before {\n content: "\\e95d";\n}\n[data-wzb="SocialMobileTool"] .icon-facebook-messenger-icon-02:before {\n content: "\\e90b";\n font-family: Zotabox !important;\n}';
return __p
},
"mobile-button/button-item": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape;
with(obj) __p += '<div id="ztb_' + __e(name) + '_wrapper" class="swiper-slide">\n <a\n \tid="ztb_' + __e(name) + '"\n aria-label="' + __e(name) + '"\n \twidget-id="' + __e(widget_id) + '"\n \tmonitor-id="' + __e(monitor_id) + '"\n href="' + __e(deeplink) + '"\n ' + __e(target && "pinterest" != name ? "target=" + target : "") + '\n\n data-attr="' + __e(name) + '"\n style="background-color: ' + __e(color) + '"\n >\n <i style="color: ' + __e(iconColor) + '" class="' + __e(icon) + '"></i>\n </a>\n</div>';
return __p
},
"pinterest-dialog/iframe-style": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape;
with(obj) __p += "@font-face {\n font-family: 'Zotabox';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot'); /* IE9 Compat Modes */\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot') format('embedded-opentype'), /* IE6-IE8 */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.woff') format('woff'), /* Pretty Modern Browsers */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.ttf') format('truetype'), /* Safari, Android, iOS */\n url('" + __e(STATIC_DOMAIN_URI) + '/asset/font/Zotabox/ztb.svg\') format(\'svg\'); /* Legacy iOS */\n}\n\n@keyframes bounce_circularG {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.3);\n }\n}\n@-o-keyframes bounce_circularG {\n 0% {\n -o-transform: scale(1);max-width: 600px\n }\n 100% {\n -o-transform: scale(0.3);\n }\n}\n@-ms-keyframes bounce_circularG {\n 0% {\n -ms-transform: scale(1);\n }\n 100% {\n -ms-transform: scale(0.3);\n }\n}\n@-webkit-keyframes bounce_circularG {\n 0% {\n -webkit-transform: scale(1);\n }\n 100% {\n -webkit-transform: scale(0.3);\n }\n}\n@-moz-keyframes bounce_circularG {\n 0% {\n -moz-transform: scale(1);\n }\n 100% {\n -moz-transform: scale(0.3);\n }\n}\n\n@media screen and (max-width: 1024px) {\n .zbx-pin-buttons {\n height: 84%;\n }\n .zbx-pin-buttons li {\n width: 22%;\n }\n .zbx-pin-buttons li img {\n \n }\n .zbx-pin-buttons li .zbx-pin-button {\n display: block;\n }\n}\n@media screen and (max-width: 600px) {\n .zbx-bar-title {\n border-radius: 0 !important;\n }\n .zbx-pin-buttons li {\n \n }\n}\nbody{\n margin: 0;\n padding: 0;\n box-sizing:border-box;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n width: 100%;\n min-width: 200px;\n}\nbody *,\n*:after{\n box-sizing:border-box;\n font-size: 100%;\n}\n\n.zbx-bar-title {\n position: relative;\n background-color: white;\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n height: 46px;\n text-align: center;\n line-height: 46px;\n cursor: pointer;\n margin: 0;\n z-index: 1;\n padding-left: 10px;\n border-radius: 4px 4px 0 0;\n}\n.zbx-bar-title .zbx-pinterest-logo {\n background-image: url("//static.zotabox.com/asset/image/pinterest.jpg");\n background-repeat: no-repeat;\n background-size: contain;\n background-position-x: center;\n background-position-y: center;\n height: 100%;\n width: auto;\n display: block;\n margin: 0 auto;\n}\n.zbx-bar-title .zbx-button-close-dialog {\n position: absolute;\n right: 44px;\n top: 4px;\n font-style: normal;\n}\n.zbx-bar-title .zbx-button-close-dialog:before {\n position: absolute;\n top: 0px;\n left: 0px;\n font-family: "Zotabox" !important;\n font-size: 38px;\n line-height: 38px;\n color: #212121;\n content: "\\e602";\n}\nbody .scroll-wrapper {\n overflow: hidden !important;\n padding: 0 !important;\n position: relative;\n}\n \n.scroll-wrapper > .scroll-content {\n border: none !important;\n box-sizing: content-box !important;\n height: auto;\n left: 0;\n margin: 0;\n max-height: none;\n max-width: none !important;\n overflow: scroll !important;\n padding: 0;\n position: relative !important;\n top: 0;\n width: auto !important;\n}\n \n.scroll-wrapper > .scroll-content::-webkit-scrollbar {\n height: 0;\n width: 0;\n}\n \n.scroll-element {\n display: none;\n}\n.scroll-element, .scroll-element div {\n box-sizing: content-box;\n}\n \n.scroll-element.scroll-x.scroll-scrollx_visible,\n.scroll-element.scroll-y.scroll-scrolly_visible {\n display: block;\n}\n \n.scroll-element .scroll-bar,\n.scroll-element .scroll-arrow {\n cursor: default;\n}\n \n.scroll-textarea {\n border: 1px solid #cccccc;\n border-top-color: #999999;\n}\n.scroll-textarea > .scroll-content {\n overflow: hidden !important;\n}\n.scroll-textarea > .scroll-content > textarea {\n border: none !important;\n box-sizing: border-box;\n height: 100% !important;\n margin: 0;\n max-height: none !important;\n max-width: none !important;\n overflow: scroll !important;\n outline: none;\n padding: 2px;\n position: relative !important;\n top: 0;\n width: 100% !important;\n}\n.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {\n height: 0;\n width: 0;\n}\n.scrollbar-inner > .scroll-element,\n.scrollbar-inner > .scroll-element div\n{\n border: none;\n margin: 0;\n padding: 0;\n position: absolute;\n z-index: 10;\n}\n \n.scrollbar-inner > .scroll-element div {\n display: block;\n height: 100%;\n left: 0;\n top: 0;\n width: 100%;\n}\n \n.scrollbar-inner > .scroll-element.scroll-x {\n bottom: 2px;\n height: 8px;\n left: 0;\n width: 100%;\n}\n \n.scrollbar-inner > .scroll-element.scroll-y {\n height: 100%;\n right: 2px;\n top: 0;\n width: 5px;\n}\n \n.scrollbar-inner > .scroll-element .scroll-element_outer {\n overflow: hidden;\n}\n \n.scrollbar-inner > .scroll-element .scroll-element_outer,\n.scrollbar-inner > .scroll-element .scroll-element_track,\n.scrollbar-inner > .scroll-element .scroll-bar {\n -webkit-border-radius: 8px;\n -moz-border-radius: 8px;\n border-radius: 8px;\n}\n \n.scrollbar-inner > .scroll-element .scroll-element_track,\n.scrollbar-inner > .scroll-element .scroll-bar {\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";\n filter: alpha(opacity=40);\n /*opacity: 0.4;*/\n}\n \n.scrollbar-inner > .scroll-element .scroll-element_track { background-color: #e0e0e0; }\n.scrollbar-inner > .scroll-element .scroll-bar { background-color: #3366cc; }\n/*.scrollbar-inner > .scroll-element:hover .scroll-bar { background-color: #919191; }*/\n.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar { background-color: #919191; }\n \n \n/* update scrollbar offset if both scrolls are visible */\n \n.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -12px; }\n.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -12px; }\n \n \n.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -12px; }\n.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -12px; }\n.zbx-pin-buttons {\n position: relative;\n list-style-type: none;\n text-align: center;\n height: 100%;\n width: 100%;\n overflow: scroll !important;\n padding: 0;\n z-index: 0;\n padding-left: 5px;\n padding-right: 0;\n left: 0;\n top: 0;\n height: 88%;\n /*overflow-x: hidden !important;*/\n}\n.zbx-pin-buttons .zbx-noimage-pin {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 20px;\n width: 200px;\n margin-left: -100px;\n margin-top: -10px;\n color: black;\n}\n.zbx-pin-buttons li {\n position: relative;\n width: 23%;\n float: left;\n height: 34%;\n background-color: #fff;\n overflow: hidden;\n margin: 7px;\n box-shadow: 0 0 2px #555;\n}\n\n.zbx-pin-buttons li a {\n overflow: hidden;\n display: inline-block;\n width: 100%;\n height:100%;\n}\n.zbx-pin-buttons li img {\n display: block;\n width: 100%;\n height: 100%;\n max-width: none !important;\n}\n\n.zbx-pin-buttons li img:hover {\n opacity: 1 !important;\n}\n.zbx-pin-buttons li .zbx-imgsize {\n background-color: rgba(255, 255, 255, 0.5);\n border: 0 none;\n bottom: 0;\n display: block;\n height: 20px;\n position: absolute;\n width: 100%;\n z-index: 1;\n color: #000;\n font-size: 12px;\n line-height: 23px;\n}\n.zbx-pin-buttons li .zbx-pin-button {\n position: absolute;\n top: 50%;\n left: 50%;\n display: block;\n margin: -15px -34px;\n background: #bd081c;\n background-image: none;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n color: #efefef;\n text-shadow: none;\n width: 68px;\n height: 30px;\n padding: 8px 13px;\n border-radius: 3px;\n display: none;\n opacity: 1 !important;\n object-fit:contain;\n}\n.zbx-pin-buttons li .zbx-pin-button em {\n width: 41px;\n height: 19px;\n background: url("//static.zotabox.com/asset/image/pinterest-common.png") -303px -293px no-repeat;\n margin: -5px 0 0;\n display: inline-block;\n opacity: 1 !important;\n}\n.zbx-pin-buttons li .zbx-pin-button:hover {\n opacity: 1 !important;\n z-index: 1;\n}\n.zbx-pin-buttons li:hover .zbx-pin-button {\n display: block;\n}\n#loading-wrapper {\n top: 0;\n left: 0;\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: #fff;\n z-index: 99;\n}\n#circularG {\n position: absolute;\n width: 28px;\n height: 28px;\n margin: auto;\n left: 50%;\n top: 50%;\n margin-left: -14px;\n margin-top: -14px;\n}\n.circularG {\n position: absolute;\n background-color: gray;\n width: 7px;\n height: 7px;\n border-radius: 4px;\n -o-border-radius: 4px;\n -ms-border-radius: 4px;\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n animation-name: bounce_circularG;\n -o-animation-name: bounce_circularG;\n -ms-animation-name: bounce_circularG;\n -webkit-animation-name: bounce_circularG;\n -moz-animation-name: bounce_circularG;\n animation-duration: 1.1s;\n -o-animation-duration: 1.1s;\n -ms-animation-duration: 1.1s;\n -webkit-animation-duration: 1.1s;\n -moz-animation-duration: 1.1s;\n animation-iteration-count: infinite;\n -o-animation-iteration-count: infinite;\n -ms-animation-iteration-count: infinite;\n -webkit-animation-iteration-count: infinite;\n -moz-animation-iteration-count: infinite;\n animation-direction: normal;\n -o-animation-direction: normal;\n -ms-animation-direction: normal;\n -webkit-animation-direction: normal;\n -moz-animation-direction: normal;\n}\n#circularG_1 {\n left: 0;\n top: 11px;\n animation-delay: 0.41s;\n -o-animation-delay: 0.41s;\n -ms-animation-delay: 0.41s;\n -webkit-animation-delay: 0.41s;\n -moz-animation-delay: 0.41s;\n}\n#circularG_2 {\n left: 3px;\n top: 3px;\n animation-delay: 0.55s;\n -o-animation-delay: 0.55s;\n -ms-animation-delay: 0.55s;\n -webkit-animation-delay: 0.55s;\n -moz-animation-delay: 0.55s;\n}\n#circularG_3 {\n top: 0;\n left: 11px;\n animation-delay: 0.69s;\n -o-animation-delay: 0.69s;\n -ms-animation-delay: 0.69s;\n -webkit-animation-delay: 0.69s;\n -moz-animation-delay: 0.69s;\n}\n#circularG_4 {\n right: 3px;\n top: 3px;\n animation-delay: 0.83s;\n -o-animation-delay: 0.83s;\n -ms-animation-delay: 0.83s;\n -webkit-animation-delay: 0.83s;\n -moz-animation-delay: 0.83s;\n}\n#circularG_5 {\n right: 0;\n top: 11px;\n animation-delay: 0.97s;\n -o-animation-delay: 0.97s;\n -ms-animation-delay: 0.97s;\n -webkit-animation-delay: 0.97s;\n -moz-animation-delay: 0.97s;\n}\n#circularG_6 {\n right: 3px;\n bottom: 3px;\n animation-delay: 1.1s;\n -o-animation-delay: 1.1s;\n -ms-animation-delay: 1.1s;\n -webkit-animation-delay: 1.1s;\n -moz-animation-delay: 1.1s;\n}\n#circularG_7 {\n left: 11px;\n bottom: 0;\n animation-delay: 1.24s;\n -o-animation-delay: 1.24s;\n -ms-animation-delay: 1.24s;\n -webkit-animation-delay: 1.24s;\n -moz-animation-delay: 1.24s;\n}\n#circularG_8 {\n left: 3px;\n bottom: 3px;\n animation-delay: 1.38s;\n -o-animation-delay: 1.38s;\n -ms-animation-delay: 1.38s;\n -webkit-animation-delay: 1.38s;\n -moz-animation-delay: 1.38s;\n}\n.zbx-overlay {\n display: none;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n /* radical background */\n background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -o-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n z-index: 999999990;\n pointer-events: auto;\n}\n.flex-images .item{\n float:left;\n margin:4px;\n}\n/*.zbx-pin-buttons::-webkit-scrollbar {\n width: 5px;\n background-color: transparent;\n -webkit-border-radius: 100px\n}\n\n.zbx-pin-buttons::-webkit-scrollbar:hover {\n background-color: #3366cc\n}\n\n.zbx-pin-buttons::-webkit-scrollbar-thumb:vertical {\n background: #3366cc;\n -webkit-border-radius: 100px;\n background-clip: padding-box\n}\n\n.zbx-pin-buttons::-webkit-scrollbar-thumb:vertical:active {\n background: #3366cc;\n -webkit-border-radius: 100px\n}*/';
return __p
},
"pinterest-dialog/image-buttons": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape,
__j = Array.prototype.join;
function print() {
__p += __j.call(arguments, "")
}
with(obj) __p += '<ul class="zbx-pin-buttons flex-images scrollbar-inner">\n ' + (null == (__t = _.isEmpty(images) ? '<div class="zbx-noimage-pin">(no image to pin)</div>' : null) ? "" : __t) + "\n ", _.each(images, function(n) {
__p += '\n <li class="zbx-image-button" attr-src=\'' + __e(n.pinit) + "' data-w=\"" + __e(n.width) + '" data-h="' + __e(n.height) + '">\n <a class="pin_contain_img" href="#">\n <div class="zbx-pin-button">\n <em></em>\n </div>\n <img width="100%" height="auto" src="' + __e(n.src) + '">\n </a>\n <div class="zbx-imgsize">' + __e(n.width) + "x" + __e(n.height) + "</div>\n </li>\n "
}), __p += "\n</ul>";
return __p
},
"pinterest-dialog/style": function(obj) {
obj = obj || {};
var __t, __p = "",
__e = _.escape;
with(obj) __p += "@font-face {\n font-family: 'Zotabox';\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot'); /* IE9 Compat Modes */\n src: url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.eot') format('embedded-opentype'), /* IE6-IE8 */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.woff') format('woff'), /* Pretty Modern Browsers */\n url('" + __e(STATIC_DOMAIN_URI) + "/asset/font/Zotabox/ztb.ttf') format('truetype'), /* Safari, Android, iOS */\n url('" + __e(STATIC_DOMAIN_URI) + '/asset/font/Zotabox/ztb.svg\') format(\'svg\'); /* Legacy iOS */\n}\n\n@keyframes bounce_circularG {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.3);\n }\n}\n@-o-keyframes bounce_circularG {\n 0% {\n -o-transform: scale(1);max-width: 600px\n }\n 100% {\n -o-transform: scale(0.3);\n }\n}\n@-ms-keyframes bounce_circularG {\n 0% {\n -ms-transform: scale(1);\n }\n 100% {\n -ms-transform: scale(0.3);\n }\n}\n@-webkit-keyframes bounce_circularG {\n 0% {\n -webkit-transform: scale(1);\n }\n 100% {\n -webkit-transform: scale(0.3);\n }\n}\n@-moz-keyframes bounce_circularG {\n 0% {\n -moz-transform: scale(1);\n }\n 100% {\n -moz-transform: scale(0.3);\n }\n}\n#zbx_pinterest_dialog #zbx-modal {\n position: fixed;\n display: none;\n opacity: 0;\n background-color: #eceff1;\n top: 50%;\n left: 50%;\n margin-left: -400px;\n margin-top: -300px;\n z-index: 9999999999;\n bottom: 0px;\n right: 0;\n width: 800px;\n height: 600px;\n border-radius: 4px;\n}\n\n@media screen and (max-width: 1024px) {\n #zbx_pinterest_dialog #zbx-modal {\n margin-left: -300px;\n margin-top: -200px;\n width: 600px;\n height: 400px;\n }\n #zbx_pinterest_dialog .zbx-pin-buttons {\n height: 84%;\n }\n #zbx_pinterest_dialog .zbx-pin-buttons li {\n width: 22%;\n }\n #zbx_pinterest_dialog .zbx-pin-buttons li img {\n \n }\n #zbx_pinterest_dialog .zbx-pin-buttons li .zbx-pin-button {\n display: block;\n }\n}\n@media screen and (max-width: 600px) {\n #zbx_pinterest_dialog #zbx-modal {\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n margin: 0;\n }\n #zbx_pinterest_dialog .zbx-bar-title {\n border-radius: 0 !important;\n }\n #zbx_pinterest_dialog .zbx-pin-buttons li {\n \n }\n}\n\n#zbx_pinterest_dialog .zbx-bar-title {\n position: relative;\n background-color: white;\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);\n height: 46px;\n text-align: center;\n line-height: 46px;\n cursor: pointer;\n margin: 0;\n z-index: 1;\n padding-left: 10px;\n border-radius: 4px 4px 0 0;\n}\n#zbx_pinterest_dialog .zbx-bar-title .zbx-pinterest-logo {\n background-image: url("//static.zotabox.com/asset/image/pinterest.jpg");\n background-repeat: no-repeat;\n background-size: contain;\n background-position-x: center;\n background-position-y: center;\n height: 100%;\n width: auto;\n display: block;\n margin: 0 auto;\n}\n#zbx_pinterest_dialog .zbx-bar-title .zbx-button-close-dialog {\n position: absolute;\n right: 44px;\n top: 4px;\n font-style: normal;\n}\n#zbx_pinterest_dialog .zbx-bar-title .zbx-button-close-dialog:before {\n position: absolute;\n top: 0px;\n left: 0px;\n font-family: "Zotabox" !important;\n font-size: 38px;\n line-height: 38px;\n color: #212121;\n content: "\\e602";\n}\n#zbx_pinterest_dialog .zbx-pin-buttons {\n position: absolute;\n list-style-type: none;\n text-align: center;\n height: 100%;\n width: 100%;\n overflow: scroll;\n padding: 0;\n z-index: 0;\n padding-left: 5px;\n padding-right: 5px;\n left: 0;\n top: 52px;\n height: 88%;\n overflow-x: hidden;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons .zbx-noimage-pin {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 20px;\n width: 200px;\n margin-left: -100px;\n margin-top: -10px;\n color: black;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li {\n position: relative;\n width: 23%;\n float: left;\n height: 34%;\n background-color: #fff;\n overflow: hidden;\n margin: 7px;\n box-shadow: 0 0 2px #555;\n}\n\n#zbx_pinterest_dialog .zbx-pin-buttons li a {\n overflow: hidden;\n display: inline-block;\n width: 100%;\n height:100%;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li img {\n display: block;\n width: 100%;\n height: 100%;\n max-width: none !important;\n}\n\n#zbx_pinterest_dialog .zbx-pin-buttons li img:hover {\n opacity: 1 !important;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li .zbx-imgsize {\n background-color: rgba(255, 255, 255, 0.5);\n border: 0 none;\n bottom: 0;\n display: block;\n height: 20px;\n position: absolute;\n width: 100%;\n z-index: 1;\n color: #000;\n font-size: 12px;\n line-height: 23px;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li .zbx-pin-button {\n position: absolute;\n top: 50%;\n left: 50%;\n display: block;\n margin: -15px -34px;\n background: #bd081c;\n background-image: none;\n border: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n color: #efefef;\n text-shadow: none;\n width: 68px;\n height: 30px;\n padding: 8px 13px;\n border-radius: 3px;\n display: none;\n opacity: 1 !important;\n object-fit:contain;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li .zbx-pin-button em {\n width: 41px;\n height: 19px;\n background: url("//static.zotabox.com/asset/image/pinterest-common.png") -303px -293px no-repeat;\n margin: -5px 0 0;\n display: inline-block;\n opacity: 1 !important;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li .zbx-pin-button:hover {\n opacity: 1 !important;\n z-index: 1;\n}\n#zbx_pinterest_dialog .zbx-pin-buttons li:hover .zbx-pin-button {\n display: block;\n}\n#zbx_pinterest_dialog #loading-wrapper {\n top: 0;\n left: 0;\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: #fff;\n z-index: 99;\n}\n#zbx_pinterest_dialog #circularG {\n position: absolute;\n width: 28px;\n height: 28px;\n margin: auto;\n left: 50%;\n top: 50%;\n margin-left: -14px;\n margin-top: -14px;\n}\n#zbx_pinterest_dialog .circularG {\n position: absolute;\n background-color: gray;\n width: 7px;\n height: 7px;\n border-radius: 4px;\n -o-border-radius: 4px;\n -ms-border-radius: 4px;\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n animation-name: bounce_circularG;\n -o-animation-name: bounce_circularG;\n -ms-animation-name: bounce_circularG;\n -webkit-animation-name: bounce_circularG;\n -moz-animation-name: bounce_circularG;\n animation-duration: 1.1s;\n -o-animation-duration: 1.1s;\n -ms-animation-duration: 1.1s;\n -webkit-animation-duration: 1.1s;\n -moz-animation-duration: 1.1s;\n animation-iteration-count: infinite;\n -o-animation-iteration-count: infinite;\n -ms-animation-iteration-count: infinite;\n -webkit-animation-iteration-count: infinite;\n -moz-animation-iteration-count: infinite;\n animation-direction: normal;\n -o-animation-direction: normal;\n -ms-animation-direction: normal;\n -webkit-animation-direction: normal;\n -moz-animation-direction: normal;\n}\n#zbx_pinterest_dialog #circularG_1 {\n left: 0;\n top: 11px;\n animation-delay: 0.41s;\n -o-animation-delay: 0.41s;\n -ms-animation-delay: 0.41s;\n -webkit-animation-delay: 0.41s;\n -moz-animation-delay: 0.41s;\n}\n#zbx_pinterest_dialog #circularG_2 {\n left: 3px;\n top: 3px;\n animation-delay: 0.55s;\n -o-animation-delay: 0.55s;\n -ms-animation-delay: 0.55s;\n -webkit-animation-delay: 0.55s;\n -moz-animation-delay: 0.55s;\n}\n#zbx_pinterest_dialog #circularG_3 {\n top: 0;\n left: 11px;\n animation-delay: 0.69s;\n -o-animation-delay: 0.69s;\n -ms-animation-delay: 0.69s;\n -webkit-animation-delay: 0.69s;\n -moz-animation-delay: 0.69s;\n}\n#zbx_pinterest_dialog #circularG_4 {\n right: 3px;\n top: 3px;\n animation-delay: 0.83s;\n -o-animation-delay: 0.83s;\n -ms-animation-delay: 0.83s;\n -webkit-animation-delay: 0.83s;\n -moz-animation-delay: 0.83s;\n}\n#zbx_pinterest_dialog #circularG_5 {\n right: 0;\n top: 11px;\n animation-delay: 0.97s;\n -o-animation-delay: 0.97s;\n -ms-animation-delay: 0.97s;\n -webkit-animation-delay: 0.97s;\n -moz-animation-delay: 0.97s;\n}\n#zbx_pinterest_dialog #circularG_6 {\n right: 3px;\n bottom: 3px;\n animation-delay: 1.1s;\n -o-animation-delay: 1.1s;\n -ms-animation-delay: 1.1s;\n -webkit-animation-delay: 1.1s;\n -moz-animation-delay: 1.1s;\n}\n#zbx_pinterest_dialog #circularG_7 {\n left: 11px;\n bottom: 0;\n animation-delay: 1.24s;\n -o-animation-delay: 1.24s;\n -ms-animation-delay: 1.24s;\n -webkit-animation-delay: 1.24s;\n -moz-animation-delay: 1.24s;\n}\n#zbx_pinterest_dialog #circularG_8 {\n left: 3px;\n bottom: 3px;\n animation-delay: 1.38s;\n -o-animation-delay: 1.38s;\n -ms-animation-delay: 1.38s;\n -webkit-animation-delay: 1.38s;\n -moz-animation-delay: 1.38s;\n}\n#zbx_pinterest_dialog .zbx-overlay {\n display: none;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n /* radical background */\n background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -o-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n z-index: 999999990;\n pointer-events: auto;\n}\n.flex-images .item{\n float:left;\n margin:4px;\n}';
return __p
},
"social-email/get-social-email-dialog": function(obj) {
obj = obj || {};
var __t, __p = "";
with(obj) __p += '<div id="zotabox-social-email" class="zotabox-social-email">\n\t<div class="zbx-overlay" id="zbx-close-modal"></div>\n <iframe frameborder="0" seamless="true" scrolling="no" src="https://static.smart.com:444/getsocialemail/' + (null == (__t = social) ? "" : __t) + "/" + (null == (__t = widgetId) ? "" : __t) + '"></iframe>\n</div>\n<style type="text/css" id="zotabox-social-email-style">\n .zotabox-social-email .zbx-overlay {\n display: block;\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n opacity: 1;\n background-image: -moz-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -webkit-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: -o-radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n background-image: radial-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));\n z-index: 9999999999;\n pointer-events: auto;\n }\n .zotabox-social-email iframe{\n position: fixed;\n display: block;\n top: 50%;\n left: 50%;\n margin-left: -' + (null == (__t = width / 2) ? "" : __t) + "px;\n margin-top: -" + (null == (__t = height / 2) ? "" : __t) + "px;\n z-index: 9999999999;\n bottom: 0px;\n right: 0;\n width: " + (null == (__t = width) ? "" : __t) + "px;\n height: " + (null == (__t = height) ? "" : __t) + "px;\n border-radius: 4px;\n background-color: #fff;\n }\n .zotabox-social-email .close-social-email-popup{\n position: absolute;\n right: 44px;\n top: 4px;\n font-style: normal;\n }\n</style>";
return __p
},
"social-email/get-social-email-iframe": function(obj) {
obj = obj || {};
var __t, __p = "",
__j = Array.prototype.join;
function print() {
__p += __j.call(arguments, "")
}
with(obj) __p += '<!DOCTYPE html>\n<html>\n<head>\n\t<title></title>\n\t<style type="text/css">\n\t\thtml, body {\n\t\t\theight: 100%;\n\t\t}\n\t\tbody{\n\t\t\tmargin: 0px;\n\t\t}\n\t\t.loading-wrapper{\n\t\t\tbackground-color: #dedede;\n\t\t\twidth:100%;\n\t\t\theight: 100%;\n\t\t}\n\t\t.loader {\n\t\t\tposition: absolute;\n\t\t\tborder: 8px solid #f3f3f3; \n\t\t\tborder-top: 8px solid #da3a0a; \n\t\t\tborder-radius: 50%;\n\t\t\twidth: 50px;\n\t\t\theight: 50px;\n\t\t\tanimation: spin 2s linear infinite;\n\t\t\ttop: calc(50% - 50px);\n\t\t\tleft: calc(50% - 50px);\n\t\t}\n\n\t\t@keyframes spin {\n\t\t\t0% { transform: rotate(0deg); }\n\t\t\t100% { transform: rotate(360deg); }\n\t\t}\n\n\t</style>\n</head>\n<body>\n\t<script type="text/javascript">\n\t\tfunction getCookie(cname) {\n\t\t var name = cname + "=";\n\t\t var decodedCookie = decodeURIComponent(document.cookie);\n\t\t var ca = decodedCookie.split(\';\');\n\t\t for(var i = 0; i <ca.length; i++) {\n\t\t var c = ca[i];\n\t\t while (c.charAt(0) == \' \') {\n\t\t c = c.substring(1);\n\t\t }\n\t\t if (c.indexOf(name) == 0) {\n\t\t return c.substring(name.length, c.length);\n\t\t }\n\t\t }\n\t\t return "";\n\t\t}\n\n\t\twindow.callback = function(data){\n\t\t\tvar http = new XMLHttpRequest();\n\t\t\tvar url = \'' + (null == (__t = action) ? "" : __t) + "/socialemail/setdata';\n\t\t\thttp.open('POST', url, true);\n\n\t\t\t//Send the proper header information along with the request\n\t\t\thttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');\n\n\t\t\thttp.onreadystatechange = function() {//Call a function when the state changes.\n\t\t\t if(http.readyState == 4 && http.status == 200) {\n\t\t\t window.close();\n\t\t\t }\n\t\t\t}\n\t\t\tvar key = getCookie(\"ZTB_SOCIAL_CONNECT_KEY\");\n\t\t\thttp.send('name='+data.name+'&email='+data.email+'&key='+key);\n\t\t}\n\t<\/script>\n\t", _.isEmpty(key) || (__p += '\n\t<script type="text/javascript">\n\t\tdocument.cookie = "ZTB_SOCIAL_CONNECT_KEY=' + (null == (__t = key) ? "" : __t) + '; path=/";\n\t<\/script>\n\t'), "facebook" == social ? (_.isEmpty(key) || (__p += '\n\t\t<script type="text/javascript">\n\t\t\twindow.location.href = "https://www.facebook.com/v3.3/dialog/oauth?response_type=code&display=popup&client_id=' + (null == (__t = facebook_app_id) ? "" : __t) + "&redirect_uri=" + (null == (__t = connect_app) ? "" : __t) + '/getsocialemail/facebook&scope=public_profile,email";\n\t\t<\/script>\n\t\t'), __p += '\n\t\x3c!-- <div class="fb-login-button" data-width="" data-size="large" data-button-type="continue_with" data-auto-logout-link="false" data-use-continue-as="false"></div> --\x3e\n\t<script type="text/javascript">\n\t\t\t(function(d, s, id){\n\t\t var js, fjs = d.getElementsByTagName(s)[0];\n\t\t if (d.getElementById(id)) {return;}\n\t\t js = d.createElement(s); js.id = id;\n\t\t js.src = "//connect.facebook.net/en_US/all.js?appId=' + (null == (__t = facebook_app_id) ? "" : __t) + "\";\n\t\t fjs.parentNode.insertBefore(js, fjs);\n\t }(document, 'script', 'facebook-jssdk'));\n\n\t window.fbAsyncInit = function() {\n\t FB.init({\n\t appId : " + (null == (__t = facebook_app_id) ? "" : __t) + ',\n\t cookie : true, // enable cookies to allow the server to access\n\t xfbml : true, // parse social plugins on this page\n\t version : \'v3.2\' // use graph api version 2.8\n\t });\n\t }\n\n\t var interval = setInterval(function(){\n\t \tif(typeof FB != "undefined"){\n\t \t\tclearInterval(interval);\n\t\t\t FB.getLoginStatus(function(response) {\n\t\t\t if(response.status == "connected"){\n\t\t\t \tgetInfoFB();\n\t\t\t }else{\n\t\t\t // FB.login(function(response) {\n\t\t\t // \tdocument.getElementById("message").textContent = JSON.stringify(response);\n\t\t\t // \tgetInfoFB();\n\t\t\t // }, {\n\t\t\t // scope: "public_profile,email",\n\t\t\t // return_scopes: true\n\t\t\t // });\n\t\t\t }\n\t\t\t },true);\n\t \t}\n\t }, 500);\n\n\t function getInfoFB(){\n\t \tFB.api(\'/me\',{fields: \'name,email\', limit: 200}, function(res) {\n\t \t\tcallback({name: res.name, email: res.email});\n\t return res;\n\t });\n\t }\n\t<\/script>\n\t') : (__p += '\n\t<script src="https://apis.google.com/js/platform.js?onload=init" async defer><\/script>\n\n\t<script type="text/javascript">\n\t\tfunction init() {\n\t\t gapi.load(\'auth2\', function() {\n\t\t gapi.auth2.init({\n\t\t \tclientId: \'' + (null == (__t = google_client_id) ? "" : __t) + "',\n\t\t \tux_mode: 'redirect',\n\t\t \tredirect_uri: '" + (null == (__t = connect_app) ? "" : __t) + "/getsocialemail/google'\n\t\t }).then(function (res) {\n\t\t \t", _.isEmpty(key) ? __p += "\n\t \t\tonSignIn(res.currentUser.get());\n\t\t\t\t" : __p += "\n\t\t\t\t\tgapi.auth2.getAuthInstance().signIn();\n\t\t\t\t", __p += "\n\t \t\t// console.log(res.currentUser.get().getBasicProfile().getEmail());\n\t\t });\n\t\t });\n\t\t}\n\t\t\n\t\tfunction onSignIn(googleUser) {\n\t\t var profile = googleUser.getBasicProfile();\n\t\t console.log('Name: ' + profile.getName());\n\t\t console.log('Email: ' + profile.getEmail());\n\t\t callback({name: profile.getName(), email: profile.getEmail()});\n\t\t}\n\t<\/script>\n\t"), __p += '\n\t<div class="loading-wrapper">\n\t\t<div class="loader"></div>\n\t</div>\n\n\t\x3c!-- <h1>' + (null == (__t = social) ? "" : __t) + '</h1> --\x3e\n\t\x3c!-- <h3 id="message"></h3> --\x3e\n\n</body>\n</html>';
return __p
}
};
< !DOCTYPE html >
< html id = "ztb-widget-container"
dir = "auto" >
< head >
< title > < /title>
< meta http - equiv = "Content-Security-Policy"
content = "default-src data: 'self' *; media-src data: 'self' *; img-src * 'self' data: blob:; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; style-src * 'self' 'unsafe-inline'; font-src * data: ;" >
< base target = "_parent" >
< script type = "text/javascript"
id = "datetimepicker" >
/*! jQuery v1.12.0 | (c) jQuery Foundation | jquery.org/license */
! function(a, b) {
"object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
if (!a.document) throw new Error("jQuery requires a window with a document");
return b(a)
} : b(a)
}("undefined" != typeof window ? window : this, function(a, b) {
var c = [],
d = a.document,
e = c.slice,
f = c.concat,
g = c.push,
h = c.indexOf,
i = {},
j = i.toString,
k = i.hasOwnProperty,
l = {},
m = "1.12.0",
n = function(a, b) {
return new n.fn.init(a, b)
},
o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
p = /^-ms-/,
q = /-([\da-z])/gi,
r = function(a, b) {
return b.toUpperCase()
};
n.fn = n.prototype = {
jquery: m,
constructor: n,
selector: "",
length: 0,
toArray: function() {
return e.call(this)
},
get: function(a) {
return null != a ? 0 > a ? this[a + this.length] : this[a] : e.call(this)
},
pushStack: function(a) {
var b = n.merge(this.constructor(), a);
return b.prevObject = this, b.context = this.context, b
},
each: function(a) {
return n.each(this, a)
},
map: function(a) {
return this.pushStack(n.map(this, function(b, c) {
return a.call(b, c, b)
}))
},
slice: function() {
return this.pushStack(e.apply(this, arguments))
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
eq: function(a) {
var b = this.length,
c = +a + (0 > a ? b : 0);
return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
},
end: function() {
return this.prevObject || this.constructor()
},
push: g,
sort: c.sort,
splice: c.splice
}, n.extend = n.fn.extend = function() {
var a, b, c, d, e, f, g = arguments[0] || {},
h = 1,
i = arguments.length,
j = !1;
for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)
if (null != (e = arguments[h]))
for (d in e) a = g[d], c = e[d], g !== c && (j && c && (n.isPlainObject(c) || (b = n.isArray(c))) ? (b ? (b = !1, f = a && n.isArray(a) ? a : []) : f = a && n.isPlainObject(a) ? a : {}, g[d] = n.extend(j, f, c)) : void 0 !== c && (g[d] = c));
return g
}, n.extend({
expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(a) {
throw new Error(a)
},
noop: function() {},
isFunction: function(a) {
return "function" === n.type(a)
},
isArray: Array.isArray || function(a) {
return "array" === n.type(a)
},
isWindow: function(a) {
return null != a && a == a.window
},
isNumeric: function(a) {
var b = a && a.toString();
return !n.isArray(a) && b - parseFloat(b) + 1 >= 0
},
isEmptyObject: function(a) {
var b;
for (b in a) return !1;
return !0
},
isPlainObject: function(a) {
var b;
if (!a || "object" !== n.type(a) || a.nodeType || n.isWindow(a)) return !1;
try {
if (a.constructor && !k.call(a, "constructor") && !k.call(a.constructor.prototype, "isPrototypeOf")) return !1
} catch (c) {
return !1
}
if (!l.ownFirst)
for (b in a) return k.call(a, b);
for (b in a);
return void 0 === b || k.call(a, b)
},
type: function(a) {
return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? i[j.call(a)] || "object" : typeof a
},
globalEval: function(b) {
b && n.trim(b) && (a.execScript || function(b) {
a.eval.call(a, b)
})(b)
},
camelCase: function(a) {
return a.replace(p, "ms-").replace(q, r)
},
nodeName: function(a, b) {
return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
},
each: function(a, b) {
var c, d = 0;
if (s(a)) {
for (c = a.length; c > d; d++)
if (b.call(a[d], d, a[d]) === !1) break
} else
for (d in a)
if (b.call(a[d], d, a[d]) === !1) break; return a
},
trim: function(a) {
return null == a ? "" : (a + "").replace(o, "")
},
makeArray: function(a, b) {
var c = b || [];
return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : g.call(c, a)), c
},
inArray: function(a, b, c) {
var d;
if (b) {
if (h) return h.call(b, a, c);
for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++)
if (c in b && b[c] === a) return c
}
return -1
},
merge: function(a, b) {
var c = +b.length,
d = 0,
e = a.length;
while (c > d) a[e++] = b[d++];
if (c !== c)
while (void 0 !== b[d]) a[e++] = b[d++];
return a.length = e, a
},
grep: function(a, b, c) {
for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]);
return e
},
map: function(a, b, c) {
var d, e, g = 0,
h = [];
if (s(a))
for (d = a.length; d > g; g++) e = b(a[g], g, c), null != e && h.push(e);
else
for (g in a) e = b(a[g], g, c), null != e && h.push(e);
return f.apply([], h)
},
guid: 1,
proxy: function(a, b) {
var c, d, f;
return "string" == typeof b && (f = a[b], b = a, a = f), n.isFunction(a) ? (c = e.call(arguments, 2), d = function() {
return a.apply(b || this, c.concat(e.call(arguments)))
}, d.guid = a.guid = a.guid || n.guid++, d) : void 0
},
now: function() {
return +new Date
},
support: l
}), "function" == typeof Symbol && (n.fn[Symbol.iterator] = c[Symbol.iterator]), n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(a, b) {
i["[object " + b + "]"] = b.toLowerCase()
});
function s(a) {
var b = !!a && "length" in a && a.length,
c = n.type(a);
return "function" === c || n.isWindow(a) ? !1 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
}
var t = function(a) {
var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date,
v = a.document,
w = 0,
x = 0,
y = ga(),
z = ga(),
A = ga(),
B = function(a, b) {
return a === b && (l = !0), 0
},
C = 1 << 31,
D = {}.hasOwnProperty,
E = [],
F = E.pop,
G = E.push,
H = E.push,
I = E.slice,
J = function(a, b) {
for (var c = 0, d = a.length; d > c; c++)
if (a[c] === b) return c;
return -1
},
K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
L = "[\\x20\\t\\r\\n\\f]",
M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
N = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + M + "))|)" + L + "*\\]",
O = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + N + ")*)|.*)\\)|)",
P = new RegExp(L + "+", "g"),
Q = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
R = new RegExp("^" + L + "*," + L + "*"),
S = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
T = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"),
U = new RegExp(O),
V = new RegExp("^" + M + "$"),
W = {
ID: new RegExp("^#(" + M + ")"),
CLASS: new RegExp("^\\.(" + M + ")"),
TAG: new RegExp("^(" + M + "|[*])"),
ATTR: new RegExp("^" + N),
PSEUDO: new RegExp("^" + O),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
bool: new RegExp("^(?:" + K + ")$", "i"),
needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
},
X = /^(?:input|select|textarea|button)$/i,
Y = /^h\d$/i,
Z = /^[^{]+\{\s*\[native \w/,
$ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
_ = /[+~]/,
aa = /'|\\/g,
ba = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"),
ca = function(a, b, c) {
var d = "0x" + b - 65536;
return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
},
da = function() {
m()
};
try {
H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
} catch (ea) {
H = {
apply: E.length ? function(a, b) {
G.apply(a, I.call(b))
} : function(a, b) {
var c = a.length,
d = 0;
while (a[c++] = b[d++]);
a.length = c - 1
}
}
}
function fa(a, b, d, e) {
var f, h, j, k, l, o, r, s, w = b && b.ownerDocument,
x = b ? b.nodeType : 9;
if (d = d || [], "string" != typeof a || !a || 1 !== x && 9 !== x && 11 !== x) return d;
if (!e && ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, p)) {
if (11 !== x && (o = $.exec(a)))
if (f = o[1]) {
if (9 === x) {
if (!(j = b.getElementById(f))) return d;
if (j.id === f) return d.push(j), d
} else if (w && (j = w.getElementById(f)) && t(b, j) && j.id === f) return d.push(j), d
} else {
if (o[2]) return H.apply(d, b.getElementsByTagName(a)), d;
if ((f = o[3]) && c.getElementsByClassName && b.getElementsByClassName) return H.apply(d, b.getElementsByClassName(f)), d
}
if (c.qsa && !A[a + " "] && (!q || !q.test(a))) {
if (1 !== x) w = b, s = a;
else if ("object" !== b.nodeName.toLowerCase()) {
(k = b.getAttribute("id")) ? k = k.replace(aa, "\\$&"): b.setAttribute("id", k = u), r = g(a), h = r.length, l = V.test(k) ? "#" + k : "[id='" + k + "']";
while (h--) r[h] = l + " " + qa(r[h]);
s = r.join(","), w = _.test(a) && oa(b.parentNode) || b
}
if (s) try {
return H.apply(d, w.querySelectorAll(s)), d
} catch (y) {} finally {
k === u && b.removeAttribute("id")
}
}
}
return i(a.replace(Q, "$1"), b, d, e)
}
function ga() {
var a = [];
function b(c, e) {
return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
}
return b
}
function ha(a) {
return a[u] = !0, a
}
function ia(a) {
var b = n.createElement("div");
try {
return !!a(b)
} catch (c) {
return !1
} finally {
b.parentNode && b.parentNode.removeChild(b), b = null
}
}
function ja(a, b) {
var c = a.split("|"),
e = c.length;
while (e--) d.attrHandle[c[e]] = b
}
function ka(a, b) {
var c = b && a,
d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
if (d) return d;
if (c)
while (c = c.nextSibling)
if (c === b) return -1;
return a ? 1 : -1
}
function la(a) {
return function(b) {
var c = b.nodeName.toLowerCase();
return "input" === c && b.type === a
}
}
function ma(a) {
return function(b) {
var c = b.nodeName.toLowerCase();
return ("input" === c || "button" === c) && b.type === a
}
}
function na(a) {
return ha(function(b) {
return b = +b, ha(function(c, d) {
var e, f = a([], c.length, b),
g = f.length;
while (g--) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
})
})
}
function oa(a) {
return a && "undefined" != typeof a.getElementsByTagName && a
}
c = fa.support = {}, f = fa.isXML = function(a) {
var b = a && (a.ownerDocument || a).documentElement;
return b ? "HTML" !== b.nodeName : !1
}, m = fa.setDocument = function(a) {
var b, e, g = a ? a.ownerDocument || a : v;
return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = n.documentElement, p = !f(n), (e = n.defaultView) && e.top !== e && (e.addEventListener ? e.addEventListener("unload", da, !1) : e.attachEvent && e.attachEvent("onunload", da)), c.attributes = ia(function(a) {
return a.className = "i", !a.getAttribute("className")
}), c.getElementsByTagName = ia(function(a) {
return a.appendChild(n.createComment("")), !a.getElementsByTagName("*").length
}), c.getElementsByClassName = Z.test(n.getElementsByClassName), c.getById = ia(function(a) {
return o.appendChild(a).id = u, !n.getElementsByName || !n.getElementsByName(u).length
}), c.getById ? (d.find.ID = function(a, b) {
if ("undefined" != typeof b.getElementById && p) {
var c = b.getElementById(a);
return c ? [c] : []
}
}, d.filter.ID = function(a) {
var b = a.replace(ba, ca);
return function(a) {
return a.getAttribute("id") === b
}
}) : (delete d.find.ID, d.filter.ID = function(a) {
var b = a.replace(ba, ca);
return function(a) {
var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
return c && c.value === b
}
}), d.find.TAG = c.getElementsByTagName ? function(a, b) {
return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
} : function(a, b) {
var c, d = [],
e = 0,
f = b.getElementsByTagName(a);
if ("*" === a) {
while (c = f[e++]) 1 === c.nodeType && d.push(c);
return d
}
return f
}, d.find.CLASS = c.getElementsByClassName && function(a, b) {
return "undefined" != typeof b.getElementsByClassName && p ? b.getElementsByClassName(a) : void 0
}, r = [], q = [], (c.qsa = Z.test(n.querySelectorAll)) && (ia(function(a) {
o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\r\\' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
}), ia(function(a) {
var b = n.createElement("input");
b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
})), (c.matchesSelector = Z.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ia(function(a) {
c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", O)
}), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = Z.test(o.compareDocumentPosition), t = b || Z.test(o.contains) ? function(a, b) {
var c = 9 === a.nodeType ? a.documentElement : a,
d = b && b.parentNode;
return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
} : function(a, b) {
if (b)
while (b = b.parentNode)
if (b === a) return !0;
return !1
}, B = b ? function(a, b) {
if (a === b) return l = !0, 0;
var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === n || a.ownerDocument === v && t(v, a) ? -1 : b === n || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
} : function(a, b) {
if (a === b) return l = !0, 0;
var c, d = 0,
e = a.parentNode,
f = b.parentNode,
g = [a],
h = [b];
if (!e || !f) return a === n ? -1 : b === n ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
if (e === f) return ka(a, b);
c = a;
while (c = c.parentNode) g.unshift(c);
c = b;
while (c = c.parentNode) h.unshift(c);
while (g[d] === h[d]) d++;
return d ? ka(g[d], h[d]) : g[d] === v ? -1 : h[d] === v ? 1 : 0
}, n) : n
}, fa.matches = function(a, b) {
return fa(a, null, null, b)
}, fa.matchesSelector = function(a, b) {
if ((a.ownerDocument || a) !== n && m(a), b = b.replace(T, "='$1']"), c.matchesSelector && p && !A[b + " "] && (!r || !r.test(b)) && (!q || !q.test(b))) try {
var d = s.call(a, b);
if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
} catch (e) {}
return fa(b, n, null, [a]).length > 0
}, fa.contains = function(a, b) {
return (a.ownerDocument || a) !== n && m(a), t(a, b)
}, fa.attr = function(a, b) {
(a.ownerDocument || a) !== n && m(a);
var e = d.attrHandle[b.toLowerCase()],
f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
}, fa.error = function(a) {
throw new Error("Syntax error, unrecognized expression: " + a)
}, fa.uniqueSort = function(a) {
var b, d = [],
e = 0,
f = 0;
if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
while (b = a[f++]) b === a[f] && (e = d.push(f));
while (e--) a.splice(d[e], 1)
}
return k = null, a
}, e = fa.getText = function(a) {
var b, c = "",
d = 0,
f = a.nodeType;
if (f) {
if (1 === f || 9 === f || 11 === f) {
if ("string" == typeof a.textContent) return a.textContent;
for (a = a.firstChild; a; a = a.nextSibling) c += e(a)
} else if (3 === f || 4 === f) return a.nodeValue
} else
while (b = a[d++]) c += e(b);
return c
}, d = fa.selectors = {
cacheLength: 50,
createPseudo: ha,
match: W,
attrHandle: {},
find: {},
relative: {
">": {
dir: "parentNode",
first: !0
},
" ": {
dir: "parentNode"
},
"+": {
dir: "previousSibling",
first: !0
},
"~": {
dir: "previousSibling"
}
},
preFilter: {
ATTR: function(a) {
return a[1] = a[1].replace(ba, ca), a[3] = (a[3] || a[4] || a[5] || "").replace(ba, ca), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
},
CHILD: function(a) {
return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || fa.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && fa.error(a[0]), a
},
PSEUDO: function(a) {
var b, c = !a[6] && a[2];
return W.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && U.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
}
},
filter: {
TAG: function(a) {
var b = a.replace(ba, ca).toLowerCase();
return "*" === a ? function() {
return !0
} : function(a) {
return a.nodeName && a.nodeName.toLowerCase() === b
}
},
CLASS: function(a) {
var b = y[a + " "];
return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function(a) {
return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
})
},
ATTR: function(a, b, c) {
return function(d) {
var e = fa.attr(d, a);
return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(P, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
}
},
CHILD: function(a, b, c, d, e) {
var f = "nth" !== a.slice(0, 3),
g = "last" !== a.slice(-4),
h = "of-type" === b;
return 1 === d && 0 === e ? function(a) {
return !!a.parentNode
} : function(b, c, i) {
var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling",
q = b.parentNode,
r = h && b.nodeName.toLowerCase(),
s = !i && !h,
t = !1;
if (q) {
if (f) {
while (p) {
m = b;
while (m = m[p])
if (h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) return !1;
o = p = "only" === a && !o && "nextSibling"
}
return !0
}
if (o = [g ? q.firstChild : q.lastChild], g && s) {
m = q, l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === w && j[1], t = n && j[2], m = n && q.childNodes[n];
while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
if (1 === m.nodeType && ++t && m === b) {
k[a] = [w, n, t];
break
}
} else if (s && (m = b, l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === w && j[1], t = n), t === !1)
while (m = ++n && m && m[p] || (t = n = 0) || o.pop())
if ((h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) && ++t && (s && (l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), k[a] = [w, t]), m === b)) break;
return t -= e, t === d || t % d === 0 && t / d >= 0
}
}
},
PSEUDO: function(a, b) {
var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || fa.error("unsupported pseudo: " + a);
return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ha(function(a, c) {
var d, f = e(a, b),
g = f.length;
while (g--) d = J(a, f[g]), a[d] = !(c[d] = f[g])
}) : function(a) {
return e(a, 0, c)
}) : e
}
},
pseudos: {
not: ha(function(a) {
var b = [],
c = [],
d = h(a.replace(Q, "$1"));
return d[u] ? ha(function(a, b, c, e) {
var f, g = d(a, null, e, []),
h = a.length;
while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
}) : function(a, e, f) {
return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
}
}),
has: ha(function(a) {
return function(b) {
return fa(a, b).length > 0
}
}),
contains: ha(function(a) {
return a = a.replace(ba, ca),
function(b) {
return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
}
}),
lang: ha(function(a) {
return V.test(a || "") || fa.error("unsupported lang: " + a), a = a.replace(ba, ca).toLowerCase(),
function(b) {
var c;
do
if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-");
while ((b = b.parentNode) && 1 === b.nodeType);
return !1
}
}),
target: function(b) {
var c = a.location && a.location.hash;
return c && c.slice(1) === b.id
},
root: function(a) {
return a === o
},
focus: function(a) {
return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
},
enabled: function(a) {
return a.disabled === !1
},
disabled: function(a) {
return a.disabled === !0
},
checked: function(a) {
var b = a.nodeName.toLowerCase();
return "input" === b && !!a.checked || "option" === b && !!a.selected
},
selected: function(a) {
return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
},
empty: function(a) {
for (a = a.firstChild; a; a = a.nextSibling)
if (a.nodeType < 6) return !1;
return !0
},
parent: function(a) {
return !d.pseudos.empty(a)
},
header: function(a) {
return Y.test(a.nodeName)
},
input: function(a) {
return X.test(a.nodeName)
},
button: function(a) {
var b = a.nodeName.toLowerCase();
return "input" === b && "button" === a.type || "button" === b
},
text: function(a) {
var b;
return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
},
first: na(function() {
return [0]
}),
last: na(function(a, b) {
return [b - 1]
}),
eq: na(function(a, b, c) {
return [0 > c ? c + b : c]
}),
even: na(function(a, b) {
for (var c = 0; b > c; c += 2) a.push(c);
return a
}),
odd: na(function(a, b) {
for (var c = 1; b > c; c += 2) a.push(c);
return a
}),
lt: na(function(a, b, c) {
for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d);
return a
}),
gt: na(function(a, b, c) {
for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d);
return a
})
}
}, d.pseudos.nth = d.pseudos.eq;
for (b in {
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
}) d.pseudos[b] = la(b);
for (b in {
submit: !0,
reset: !0
}) d.pseudos[b] = ma(b);
function pa() {}
pa.prototype = d.filters = d.pseudos, d.setFilters = new pa, g = fa.tokenize = function(a, b) {
var c, e, f, g, h, i, j, k = z[a + " "];
if (k) return b ? 0 : k.slice(0);
h = a, i = [], j = d.preFilter;
while (h) {
(!c || (e = R.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = S.exec(h)) && (c = e.shift(), f.push({
value: c,
type: e[0].replace(Q, " ")
}), h = h.slice(c.length));
for (g in d.filter) !(e = W[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
value: c,
type: g,
matches: e
}), h = h.slice(c.length));
if (!c) break
}
return b ? h.length : h ? fa.error(a) : z(a, i).slice(0)
};
function qa(a) {
for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
return d
}
function ra(a, b, c) {
var d = b.dir,
e = c && "parentNode" === d,
f = x++;
return b.first ? function(b, c, f) {
while (b = b[d])
if (1 === b.nodeType || e) return a(b, c, f)
} : function(b, c, g) {
var h, i, j, k = [w, f];
if (g) {
while (b = b[d])
if ((1 === b.nodeType || e) && a(b, c, g)) return !0
} else
while (b = b[d])
if (1 === b.nodeType || e) {
if (j = b[u] || (b[u] = {}), i = j[b.uniqueID] || (j[b.uniqueID] = {}), (h = i[d]) && h[0] === w && h[1] === f) return k[2] = h[2];
if (i[d] = k, k[2] = a(b, c, g)) return !0
}
}
}
function sa(a) {
return a.length > 1 ? function(b, c, d) {
var e = a.length;
while (e--)
if (!a[e](b, c, d)) return !1;
return !0
} : a[0]
}
function ta(a, b, c) {
for (var d = 0, e = b.length; e > d; d++) fa(a, b[d], c);
return c
}
function ua(a, b, c, d, e) {
for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h));
return g
}
function va(a, b, c, d, e, f) {
return d && !d[u] && (d = va(d)), e && !e[u] && (e = va(e, f)), ha(function(f, g, h, i) {
var j, k, l, m = [],
n = [],
o = g.length,
p = f || ta(b || "*", h.nodeType ? [h] : h, []),
q = !a || !f && b ? p : ua(p, m, a, h, i),
r = c ? e || (f ? a : o || d) ? [] : g : q;
if (c && c(q, r, h, i), d) {
j = ua(r, n), d(j, [], h, i), k = j.length;
while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
}
if (f) {
if (e || a) {
if (e) {
j = [], k = r.length;
while (k--)(l = r[k]) && j.push(q[k] = l);
e(null, r = [], j, i)
}
k = r.length;
while (k--)(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
}
} else r = ua(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
})
}
function wa(a) {
for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = ra(function(a) {
return a === b
}, h, !0), l = ra(function(a) {
return J(b, a) > -1
}, h, !0), m = [function(a, c, d) {
var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
return b = null, e
}]; f > i; i++)
if (c = d.relative[a[i].type]) m = [ra(sa(m), c)];
else {
if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
for (e = ++i; f > e; e++)
if (d.relative[a[e].type]) break;
return va(i > 1 && sa(m), i > 1 && qa(a.slice(0, i - 1).concat({
value: " " === a[i - 2].type ? "*" : ""
})).replace(Q, "$1"), c, e > i && wa(a.slice(i, e)), f > e && wa(a = a.slice(e)), f > e && qa(a))
}
m.push(c)
}
return sa(m)
}
function xa(a, b) {
var c = b.length > 0,
e = a.length > 0,
f = function(f, g, h, i, k) {
var l, o, q, r = 0,
s = "0",
t = f && [],
u = [],
v = j,
x = f || e && d.find.TAG("*", k),
y = w += null == v ? 1 : Math.random() || .1,
z = x.length;
for (k && (j = g === n || g || k); s !== z && null != (l = x[s]); s++) {
if (e && l) {
o = 0, g || l.ownerDocument === n || (m(l), h = !p);
while (q = a[o++])
if (q(l, g || n, h)) {
i.push(l);
break
}
k && (w = y)
}
c && ((l = !q && l) && r--, f && t.push(l))
}
if (r += s, c && s !== r) {
o = 0;
while (q = b[o++]) q(t, u, g, h);
if (f) {
if (r > 0)
while (s--) t[s] || u[s] || (u[s] = F.call(i));
u = ua(u)
}
H.apply(i, u), k && !f && u.length > 0 && r + b.length > 1 && fa.uniqueSort(i)
}
return k && (w = y, j = v), t
};
return c ? ha(f) : f
}
return h = fa.compile = function(a, b) {
var c, d = [],
e = [],
f = A[a + " "];
if (!f) {
b || (b = g(a)), c = b.length;
while (c--) f = wa(b[c]), f[u] ? d.push(f) : e.push(f);
f = A(a, xa(e, d)), f.selector = a
}
return f
}, i = fa.select = function(a, b, e, f) {
var i, j, k, l, m, n = "function" == typeof a && a,
o = !f && g(a = n.selector || a);
if (e = e || [], 1 === o.length) {
if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
if (b = (d.find.ID(k.matches[0].replace(ba, ca), b) || [])[0], !b) return e;
n && (b = b.parentNode), a = a.slice(j.shift().value.length)
}
i = W.needsContext.test(a) ? 0 : j.length;
while (i--) {
if (k = j[i], d.relative[l = k.type]) break;
if ((m = d.find[l]) && (f = m(k.matches[0].replace(ba, ca), _.test(j[0].type) && oa(b.parentNode) || b))) {
if (j.splice(i, 1), a = f.length && qa(j), !a) return H.apply(e, f), e;
break
}
}
}
return (n || h(a, o))(f, b, !p, e, !b || _.test(a) && oa(b.parentNode) || b), e
}, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = ia(function(a) {
return 1 & a.compareDocumentPosition(n.createElement("div"))
}), ia(function(a) {
return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
}) || ja("type|href|height|width", function(a, b, c) {
return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
}), c.attributes && ia(function(a) {
return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
}) || ja("value", function(a, b, c) {
return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
}), ia(function(a) {
return null == a.getAttribute("disabled")
}) || ja(K, function(a, b, c) {
var d;
return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
}), fa
}(a);
n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.uniqueSort = n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
var u = function(a, b, c) {
var d = [],
e = void 0 !== c;
while ((a = a[b]) && 9 !== a.nodeType)
if (1 === a.nodeType) {
if (e && n(a).is(c)) break;
d.push(a)
}
return d
},
v = function(a, b) {
for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
return c
},
w = n.expr.match.needsContext,
x = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,
y = /^.[^:#\[\.,]*$/;
function z(a, b, c) {
if (n.isFunction(b)) return n.grep(a, function(a, d) {
return !!b.call(a, d, a) !== c
});
if (b.nodeType) return n.grep(a, function(a) {
return a === b !== c
});
if ("string" == typeof b) {
if (y.test(b)) return n.filter(b, a, c);
b = n.filter(b, a)
}
return n.grep(a, function(a) {
return n.inArray(a, b) > -1 !== c
})
}
n.filter = function(a, b, c) {
var d = b[0];
return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function(a) {
return 1 === a.nodeType
}))
}, n.fn.extend({
find: function(a) {
var b, c = [],
d = this,
e = d.length;
if ("string" != typeof a) return this.pushStack(n(a).filter(function() {
for (b = 0; e > b; b++)
if (n.contains(d[b], this)) return !0
}));
for (b = 0; e > b; b++) n.find(a, d[b], c);
return c = this.pushStack(e > 1 ? n.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c
},
filter: function(a) {
return this.pushStack(z(this, a || [], !1))
},
not: function(a) {
return this.pushStack(z(this, a || [], !0))
},
is: function(a) {
return !!z(this, "string" == typeof a && w.test(a) ? n(a) : a || [], !1).length
}
});
var A, B = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
C = n.fn.init = function(a, b, c) {
var e, f;
if (!a) return this;
if (c = c || A, "string" == typeof a) {
if (e = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : B.exec(a), !e || !e[1] && b) return !b || b.jquery ? (b || c).find(a) : this.constructor(b).find(a);
if (e[1]) {
if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(e[1], b && b.nodeType ? b.ownerDocument || b : d, !0)), x.test(e[1]) && n.isPlainObject(b))
for (e in b) n.isFunction(this[e]) ? this[e](b[e]) : this.attr(e, b[e]);
return this
}
if (f = d.getElementById(e[2]), f && f.parentNode) {
if (f.id !== e[2]) return A.find(a);
this.length = 1, this[0] = f
}
return this.context = d, this.selector = a, this
}
return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof c.ready ? c.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
};
C.prototype = n.fn, A = n(d);
var D = /^(?:parents|prev(?:Until|All))/,
E = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
n.fn.extend({
has: function(a) {
var b, c = n(a, this),
d = c.length;
return this.filter(function() {
for (b = 0; d > b; b++)
if (n.contains(this, c[b])) return !0
})
},
closest: function(a, b) {
for (var c, d = 0, e = this.length, f = [], g = w.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)
for (c = this[d]; c && c !== b; c = c.parentNode)
if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
f.push(c);
break
}
return this.pushStack(f.length > 1 ? n.uniqueSort(f) : f)
},
index: function(a) {
return a ? "string" == typeof a ? n.inArray(this[0], n(a)) : n.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
},
add: function(a, b) {
return this.pushStack(n.uniqueSort(n.merge(this.get(), n(a, b))))
},
addBack: function(a) {
return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
}
});
function F(a, b) {
do a = a[b]; while (a && 1 !== a.nodeType);
return a
}
n.each({
parent: function(a) {
var b = a.parentNode;
return b && 11 !== b.nodeType ? b : null
},
parents: function(a) {
return u(a, "parentNode")
},
parentsUntil: function(a, b, c) {
return u(a, "parentNode", c)
},
next: function(a) {
return F(a, "nextSibling")
},
prev: function(a) {
return F(a, "previousSibling")
},
nextAll: function(a) {
return u(a, "nextSibling")
},
prevAll: function(a) {
return u(a, "previousSibling")
},
nextUntil: function(a, b, c) {
return u(a, "nextSibling", c)
},
prevUntil: function(a, b, c) {
return u(a, "previousSibling", c)
},
siblings: function(a) {
return v((a.parentNode || {}).firstChild, a)
},
children: function(a) {
return v(a.firstChild)
},
contents: function(a) {
return n.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : n.merge([], a.childNodes)
}
}, function(a, b) {
n.fn[a] = function(c, d) {
var e = n.map(this, b, c);
return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (E[a] || (e = n.uniqueSort(e)), D.test(a) && (e = e.reverse())), this.pushStack(e)
}
});
var G = /\S+/g;
function H(a) {
var b = {};
return n.each(a.match(G) || [], function(a, c) {
b[c] = !0
}), b
}
n.Callbacks = function(a) {
a = "string" == typeof a ? H(a) : n.extend({}, a);
var b, c, d, e, f = [],
g = [],
h = -1,
i = function() {
for (e = a.once, d = b = !0; g.length; h = -1) {
c = g.shift();
while (++h < f.length) f[h].apply(c[0], c[1]) === !1 && a.stopOnFalse && (h = f.length, c = !1)
}
a.memory || (c = !1), b = !1, e && (f = c ? [] : "")
},
j = {
add: function() {
return f && (c && !b && (h = f.length - 1, g.push(c)), function d(b) {
n.each(b, function(b, c) {
n.isFunction(c) ? a.unique && j.has(c) || f.push(c) : c && c.length && "string" !== n.type(c) && d(c)
})
}(arguments), c && !b && i()), this
},
remove: function() {
return n.each(arguments, function(a, b) {
var c;
while ((c = n.inArray(b, f, c)) > -1) f.splice(c, 1), h >= c && h--
}), this
},
has: function(a) {
return a ? n.inArray(a, f) > -1 : f.length > 0
},
empty: function() {
return f && (f = []), this
},
disable: function() {
return e = g = [], f = c = "", this
},
disabled: function() {
return !f
},
lock: function() {
return e = !0, c || j.disable(), this
},
locked: function() {
return !!e
},
fireWith: function(a, c) {
return e || (c = c || [], c = [a, c.slice ? c.slice() : c], g.push(c), b || i()), this
},
fire: function() {
return j.fireWith(this, arguments), this
},
fired: function() {
return !!d
}
};
return j
}, n.extend({
Deferred: function(a) {
var b = [
["resolve", "done", n.Callbacks("once memory"), "resolved"],
["reject", "fail", n.Callbacks("once memory"), "rejected"],
["notify", "progress", n.Callbacks("memory")]
],
c = "pending",
d = {
state: function() {
return c
},
always: function() {
return e.done(arguments).fail(arguments), this
},
then: function() {
var a = arguments;
return n.Deferred(function(c) {
n.each(b, function(b, f) {
var g = n.isFunction(a[b]) && a[b];
e[f[1]](function() {
var a = g && g.apply(this, arguments);
a && n.isFunction(a.promise) ? a.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
})
}), a = null
}).promise()
},
promise: function(a) {
return null != a ? n.extend(a, d) : d
}
},
e = {};
return d.pipe = d.then, n.each(b, function(a, f) {
var g = f[2],
h = f[3];
d[f[1]] = g.add, h && g.add(function() {
c = h
}, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function() {
return e[f[0] + "With"](this === e ? d : this, arguments), this
}, e[f[0] + "With"] = g.fireWith
}), d.promise(e), a && a.call(e, e), e
},
when: function(a) {
var b = 0,
c = e.call(arguments),
d = c.length,
f = 1 !== d || a && n.isFunction(a.promise) ? d : 0,
g = 1 === f ? a : n.Deferred(),
h = function(a, b, c) {
return function(d) {
b[a] = this, c[a] = arguments.length > 1 ? e.call(arguments) : d, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
}
},
i, j, k;
if (d > 1)
for (i = new Array(d), j = new Array(d), k = new Array(d); d > b; b++) c[b] && n.isFunction(c[b].promise) ? c[b].promise().progress(h(b, j, i)).done(h(b, k, c)).fail(g.reject) : --f;
return f || g.resolveWith(k, c), g.promise()
}
});
var I;
n.fn.ready = function(a) {
return n.ready.promise().done(a), this
}, n.extend({
isReady: !1,
readyWait: 1,
holdReady: function(a) {
a ? n.readyWait++ : n.ready(!0)
},
ready: function(a) {
(a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (I.resolveWith(d, [n]), n.fn.triggerHandler && (n(d).triggerHandler("ready"), n(d).off("ready"))))
}
});
function J() {
d.addEventListener ? (d.removeEventListener("DOMContentLoaded", K), a.removeEventListener("load", K)) : (d.detachEvent("onreadystatechange", K), a.detachEvent("onload", K))
}
function K() {
(d.addEventListener || "load" === a.event.type || "complete" === d.readyState) && (J(), n.ready())
}
n.ready.promise = function(b) {
if (!I)
if (I = n.Deferred(), "complete" === d.readyState) a.setTimeout(n.ready);
else if (d.addEventListener) d.addEventListener("DOMContentLoaded", K), a.addEventListener("load", K);
else {
d.attachEvent("onreadystatechange", K), a.attachEvent("onload", K);
var c = !1;
try {
c = null == a.frameElement && d.documentElement
} catch (e) {}
c && c.doScroll && ! function f() {
if (!n.isReady) {
try {
c.doScroll("left")
} catch (b) {
return a.setTimeout(f, 50)
}
J(), n.ready()
}
}()
}
return I.promise(b)
}, n.ready.promise();
var L;
for (L in n(l)) break;
l.ownFirst = "0" === L, l.inlineBlockNeedsLayout = !1, n(function() {
var a, b, c, e;
c = d.getElementsByTagName("body")[0], c && c.style && (b = d.createElement("div"), e = d.createElement("div"), e.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(e).appendChild(b), "undefined" != typeof b.style.zoom && (b.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", l.inlineBlockNeedsLayout = a = 3 === b.offsetWidth, a && (c.style.zoom = 1)), c.removeChild(e))
}),
function() {
var a = d.createElement("div");
l.deleteExpando = !0;
try {
delete a.test
} catch (b) {
l.deleteExpando = !1
}
a = null
}();
var M = function(a) {
var b = n.noData[(a.nodeName + " ").toLowerCase()],
c = +a.nodeType || 1;
return 1 !== c && 9 !== c ? !1 : !b || b !== !0 && a.getAttribute("classid") === b
},
N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
O = /([A-Z])/g;
function P(a, b, c) {
if (void 0 === c && 1 === a.nodeType) {
var d = "data-" + b.replace(O, "-$1").toLowerCase();
if (c = a.getAttribute(d), "string" == typeof c) {
try {
c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
} catch (e) {}
n.data(a, b, c)
} else c = void 0
}
return c
}
function Q(a) {
var b;
for (b in a)
if (("data" !== b || !n.isEmptyObject(a[b])) && "toJSON" !== b) return !1;
return !0
}
function R(a, b, d, e) {
if (M(a)) {
var f, g, h = n.expando,
i = a.nodeType,
j = i ? n.cache : a,
k = i ? a[h] : a[h] && h;
if (k && j[k] && (e || j[k].data) || void 0 !== d || "string" != typeof b) return k || (k = i ? a[h] = c.pop() || n.guid++ : h), j[k] || (j[k] = i ? {} : {
toJSON: n.noop
}), ("object" == typeof b || "function" == typeof b) && (e ? j[k] = n.extend(j[k], b) : j[k].data = n.extend(j[k].data, b)), g = j[k], e || (g.data || (g.data = {}), g = g.data), void 0 !== d && (g[n.camelCase(b)] = d), "string" == typeof b ? (f = g[b], null == f && (f = g[n.camelCase(b)])) : f = g, f
}
}
function S(a, b, c) {
if (M(a)) {
var d, e, f = a.nodeType,
g = f ? n.cache : a,
h = f ? a[n.expando] : n.expando;
if (g[h]) {
if (b && (d = c ? g[h] : g[h].data)) {
n.isArray(b) ? b = b.concat(n.map(b, n.camelCase)) : b in d ? b = [b] : (b = n.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length;
while (e--) delete d[b[e]];
if (c ? !Q(d) : !n.isEmptyObject(d)) return
}(c || (delete g[h].data, Q(g[h]))) && (f ? n.cleanData([a], !0) : l.deleteExpando || g != g.window ? delete g[h] : g[h] = void 0)
}
}
}
n.extend({
cache: {},
noData: {
"applet ": !0,
"embed ": !0,
"object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
},
hasData: function(a) {
return a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando], !!a && !Q(a)
},
data: function(a, b, c) {
return R(a, b, c)
},
removeData: function(a, b) {
return S(a, b)
},
_data: function(a, b, c) {
return R(a, b, c, !0)
},
_removeData: function(a, b) {
return S(a, b, !0)
}
}), n.fn.extend({
data: function(a, b) {
var c, d, e, f = this[0],
g = f && f.attributes;
if (void 0 === a) {
if (this.length && (e = n.data(f), 1 === f.nodeType && !n._data(f, "parsedAttrs"))) {
c = g.length;
while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d])));
n._data(f, "parsedAttrs", !0)
}
return e
}
return "object" == typeof a ? this.each(function() {
n.data(this, a)
}) : arguments.length > 1 ? this.each(function() {
n.data(this, a, b)
}) : f ? P(f, a, n.data(f, a)) : void 0
},
removeData: function(a) {
return this.each(function() {
n.removeData(this, a)
})
}
}), n.extend({
queue: function(a, b, c) {
var d;
return a ? (b = (b || "fx") + "queue", d = n._data(a, b), c && (!d || n.isArray(c) ? d = n._data(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
},
dequeue: function(a, b) {
b = b || "fx";
var c = n.queue(a, b),
d = c.length,
e = c.shift(),
f = n._queueHooks(a, b),
g = function() {
n.dequeue(a, b)
};
"inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
},
_queueHooks: function(a, b) {
var c = b + "queueHooks";
return n._data(a, c) || n._data(a, c, {
empty: n.Callbacks("once memory").add(function() {
n._removeData(a, b + "queue"), n._removeData(a, c)
})
})
}
}), n.fn.extend({
queue: function(a, b) {
var c = 2;
return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function() {
var c = n.queue(this, a, b);
n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
})
},
dequeue: function(a) {
return this.each(function() {
n.dequeue(this, a)
})
},
clearQueue: function(a) {
return this.queue(a || "fx", [])
},
promise: function(a, b) {
var c, d = 1,
e = n.Deferred(),
f = this,
g = this.length,
h = function() {
--d || e.resolveWith(f, [f])
};
"string" != typeof a && (b = a, a = void 0), a = a || "fx";
while (g--) c = n._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
return h(), e.promise(b)
}
}),
function() {
var a;
l.shrinkWrapBlocks = function() {
if (null != a) return a;
a = !1;
var b, c, e;
return c = d.getElementsByTagName("body")[0], c && c.style ? (b = d.createElement("div"), e = d.createElement("div"), e.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(e).appendChild(b), "undefined" != typeof b.style.zoom && (b.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", b.appendChild(d.createElement("div")).style.width = "5px", a = 3 !== b.offsetWidth), c.removeChild(e), a) : void 0
}
}();
var T = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
U = new RegExp("^(?:([+-])=|)(" + T + ")([a-z%]*)$", "i"),
V = ["Top", "Right", "Bottom", "Left"],
W = function(a, b) {
return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
};
function X(a, b, c, d) {
var e, f = 1,
g = 20,
h = d ? function() {
return d.cur()
} : function() {
return n.css(a, b, "")
},
i = h(),
j = c && c[3] || (n.cssNumber[b] ? "" : "px"),
k = (n.cssNumber[b] || "px" !== j && +i) && U.exec(n.css(a, b));
if (k && k[3] !== j) {
j = j || k[3], c = c || [], k = +i || 1;
do f = f || ".5", k /= f, n.style(a, b, k + j); while (f !== (f = h() / i) && 1 !== f && --g)
}
return c && (k = +k || +i || 0, e = c[1] ? k + (c[1] + 1) * c[2] : +c[2], d && (d.unit = j, d.start = k, d.end = e)), e
}
var Y = function(a, b, c, d, e, f, g) {
var h = 0,
i = a.length,
j = null == c;
if ("object" === n.type(c)) {
e = !0;
for (h in c) Y(a, b, h, c[h], !0, f, g)
} else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function(a, b, c) {
return j.call(n(a), c)
})), b))
for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
},
Z = /^(?:checkbox|radio)$/i,
$ = /<([\w:-]+)/,
_ = /^$|\/(?:java|ecma)script/i,
aa = /^\s+/,
ba = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";
function ca(a) {
var b = ba.split("|"),
c = a.createDocumentFragment();
if (c.createElement)
while (b.length) c.createElement(b.pop());
return c
}! function() {
var a = d.createElement("div"),
b = d.createDocumentFragment(),
c = d.createElement("input");
a.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", l.leadingWhitespace = 3 === a.firstChild.nodeType, l.tbody = !a.getElementsByTagName("tbody").length, l.htmlSerialize = !!a.getElementsByTagName("link").length, l.html5Clone = "<:nav></:nav>" !== d.createElement("nav").cloneNode(!0).outerHTML, c.type = "checkbox", c.checked = !0, b.appendChild(c), l.appendChecked = c.checked, a.innerHTML = "<textarea>x</textarea>", l.noCloneChecked = !!a.cloneNode(!0).lastChild.defaultValue, b.appendChild(a), c = d.createElement("input"), c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), a.appendChild(c), l.checkClone = a.cloneNode(!0).cloneNode(!0).lastChild.checked, l.noCloneEvent = !!a.addEventListener, a[n.expando] = 1, l.attributes = !a.getAttribute(n.expando)
}();
var da = {
option: [1, "<select multiple='multiple'>", "</select>"],
legend: [1, "<fieldset>", "</fieldset>"],
area: [1, "<map>", "</map>"],
param: [1, "<object>", "</object>"],
thead: [1, "<table>", "</table>"],
tr: [2, "<table><tbody>", "</tbody></table>"],
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
_default: l.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
};
da.optgroup = da.option, da.tbody = da.tfoot = da.colgroup = da.caption = da.thead, da.th = da.td;
function ea(a, b) {
var c, d, e = 0,
f = "undefined" != typeof a.getElementsByTagName ? a.getElementsByTagName(b || "*") : "undefined" != typeof a.querySelectorAll ? a.querySelectorAll(b || "*") : void 0;
if (!f)
for (f = [], c = a.childNodes || a; null != (d = c[e]); e++) !b || n.nodeName(d, b) ? f.push(d) : n.merge(f, ea(d, b));
return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], f) : f
}
function fa(a, b) {
for (var c, d = 0; null != (c = a[d]); d++) n._data(c, "globalEval", !b || n._data(b[d], "globalEval"))
}
var ga = /<|&#?\w+;/,
ha = /<tbody/i;
function ia(a) {
Z.test(a.type) && (a.defaultChecked = a.checked)
}
function ja(a, b, c, d, e) {
for (var f, g, h, i, j, k, m, o = a.length, p = ca(b), q = [], r = 0; o > r; r++)
if (g = a[r], g || 0 === g)
if ("object" === n.type(g)) n.merge(q, g.nodeType ? [g] : g);
else if (ga.test(g)) {
i = i || p.appendChild(b.createElement("div")), j = ($.exec(g) || ["", ""])[1].toLowerCase(), m = da[j] || da._default, i.innerHTML = m[1] + n.htmlPrefilter(g) + m[2], f = m[0];
while (f--) i = i.lastChild;
if (!l.leadingWhitespace && aa.test(g) && q.push(b.createTextNode(aa.exec(g)[0])), !l.tbody) {
g = "table" !== j || ha.test(g) ? "<table>" !== m[1] || ha.test(g) ? 0 : i : i.firstChild, f = g && g.childNodes.length;
while (f--) n.nodeName(k = g.childNodes[f], "tbody") && !k.childNodes.length && g.removeChild(k)
}
n.merge(q, i.childNodes), i.textContent = "";
while (i.firstChild) i.removeChild(i.firstChild);
i = p.lastChild
} else q.push(b.createTextNode(g));
i && p.removeChild(i), l.appendChecked || n.grep(ea(q, "input"), ia), r = 0;
while (g = q[r++])
if (d && n.inArray(g, d) > -1) e && e.push(g);
else if (h = n.contains(g.ownerDocument, g), i = ea(p.appendChild(g), "script"), h && fa(i), c) {
f = 0;
while (g = i[f++]) _.test(g.type || "") && c.push(g)
}
return i = null, p
}! function() {
var b, c, e = d.createElement("div");
for (b in {
submit: !0,
change: !0,
focusin: !0
}) c = "on" + b, (l[b] = c in a) || (e.setAttribute(c, "t"), l[b] = e.attributes[c].expando === !1);
e = null
}();
var ka = /^(?:input|select|textarea)$/i,
la = /^key/,
ma = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
na = /^(?:focusinfocus|focusoutblur)$/,
oa = /^([^.]*)(?:\.(.+)|)/;
function pa() {
return !0
}
function qa() {
return !1
}
function ra() {
try {
return d.activeElement
} catch (a) {}
}
function sa(a, b, c, d, e, f) {
var g, h;
if ("object" == typeof b) {
"string" != typeof c && (d = d || c, c = void 0);
for (h in b) sa(a, h, c, d, b[h], f);
return a
}
if (null == d && null == e ? (e = c, d = c = void 0) : null == e && ("string" == typeof c ? (e = d, d = void 0) : (e = d, d = c, c = void 0)), e === !1) e = qa;
else if (!e) return a;
return 1 === f && (g = e, e = function(a) {
return n().off(a), g.apply(this, arguments)
}, e.guid = g.guid || (g.guid = n.guid++)), a.each(function() {
n.event.add(this, b, e, d, c)
})
}
n.event = {
global: {},
add: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, o, p, q, r = n._data(a);
if (r) {
c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = n.guid++), (g = r.events) || (g = r.events = {}), (k = r.handle) || (k = r.handle = function(a) {
return "undefined" == typeof n || a && n.event.triggered === a.type ? void 0 : n.event.dispatch.apply(k.elem, arguments)
}, k.elem = a), b = (b || "").match(G) || [""], h = b.length;
while (h--) f = oa.exec(b[h]) || [], o = q = f[1], p = (f[2] || "").split(".").sort(), o && (j = n.event.special[o] || {}, o = (e ? j.delegateType : j.bindType) || o, j = n.event.special[o] || {}, l = n.extend({
type: o,
origType: q,
data: d,
handler: c,
guid: c.guid,
selector: e,
needsContext: e && n.expr.match.needsContext.test(e),
namespace: p.join(".")
}, i), (m = g[o]) || (m = g[o] = [], m.delegateCount = 0, j.setup && j.setup.call(a, d, p, k) !== !1 || (a.addEventListener ? a.addEventListener(o, k, !1) : a.attachEvent && a.attachEvent("on" + o, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, l) : m.push(l), n.event.global[o] = !0);
a = null
}
},
remove: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, o, p, q, r = n.hasData(a) && n._data(a);
if (r && (k = r.events)) {
b = (b || "").match(G) || [""], j = b.length;
while (j--)
if (h = oa.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = k[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = m.length;
while (f--) g = m[f], !e && q !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (m.splice(f, 1), g.selector && m.delegateCount--, l.remove && l.remove.call(a, g));
i && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete k[o])
} else
for (o in k) n.event.remove(a, o + b[j], c, d, !0);
n.isEmptyObject(k) && (delete r.handle, n._removeData(a, "events"))
}
},
trigger: function(b, c, e, f) {
var g, h, i, j, l, m, o, p = [e || d],
q = k.call(b, "type") ? b.type : b,
r = k.call(b, "namespace") ? b.namespace.split(".") : [];
if (i = m = e = e || d, 3 !== e.nodeType && 8 !== e.nodeType && !na.test(q + n.event.triggered) && (q.indexOf(".") > -1 && (r = q.split("."), q = r.shift(), r.sort()), h = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = f ? 2 : 3, b.namespace = r.join("."), b.rnamespace = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = e), c = null == c ? [b] : n.makeArray(c, [b]), l = n.event.special[q] || {}, f || !l.trigger || l.trigger.apply(e, c) !== !1)) {
if (!f && !l.noBubble && !n.isWindow(e)) {
for (j = l.delegateType || q, na.test(j + q) || (i = i.parentNode); i; i = i.parentNode) p.push(i), m = i;
m === (e.ownerDocument || d) && p.push(m.defaultView || m.parentWindow || a)
}
o = 0;
while ((i = p[o++]) && !b.isPropagationStopped()) b.type = o > 1 ? j : l.bindType || q, g = (n._data(i, "events") || {})[b.type] && n._data(i, "handle"), g && g.apply(i, c), g = h && i[h], g && g.apply && M(i) && (b.result = g.apply(i, c), b.result === !1 && b.preventDefault());
if (b.type = q, !f && !b.isDefaultPrevented() && (!l._default || l._default.apply(p.pop(), c) === !1) && M(e) && h && e[q] && !n.isWindow(e)) {
m = e[h], m && (e[h] = null), n.event.triggered = q;
try {
e[q]()
} catch (s) {}
n.event.triggered = void 0, m && (e[h] = m)
}
return b.result
}
},
dispatch: function(a) {
a = n.event.fix(a);
var b, c, d, f, g, h = [],
i = e.call(arguments),
j = (n._data(this, "events") || {})[a.type] || [],
k = n.event.special[a.type] || {};
if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
h = n.event.handlers.call(this, a, j), b = 0;
while ((f = h[b++]) && !a.isPropagationStopped()) {
a.currentTarget = f.elem, c = 0;
while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())(!a.rnamespace || a.rnamespace.test(g.namespace)) && (a.handleObj = g, a.data = g.data, d = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== d && (a.result = d) === !1 && (a.preventDefault(), a.stopPropagation()))
}
return k.postDispatch && k.postDispatch.call(this, a), a.result
}
},
handlers: function(a, b) {
var c, d, e, f, g = [],
h = b.delegateCount,
i = a.target;
if (h && i.nodeType && ("click" !== a.type || isNaN(a.button) || a.button < 1))
for (; i != this; i = i.parentNode || this)
if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
for (d = [], c = 0; h > c; c++) f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) > -1 : n.find(e, this, null, [i]).length), d[e] && d.push(f);
d.length && g.push({
elem: i,
handlers: d
})
}
return h < b.length && g.push({
elem: this,
handlers: b.slice(h)
}), g
},
fix: function(a) {
if (a[n.expando]) return a;
var b, c, e, f = a.type,
g = a,
h = this.fixHooks[f];
h || (this.fixHooks[f] = h = ma.test(f) ? this.mouseHooks : la.test(f) ? this.keyHooks : {}), e = h.props ? this.props.concat(h.props) : this.props, a = new n.Event(g), b = e.length;
while (b--) c = e[b], a[c] = g[c];
return a.target || (a.target = g.srcElement || d), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, h.filter ? h.filter(a, g) : a
},
props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
fixHooks: {},
keyHooks: {
props: "char charCode key keyCode".split(" "),
filter: function(a, b) {
return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
}
},
mouseHooks: {
props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter: function(a, b) {
var c, e, f, g = b.button,
h = b.fromElement;
return null == a.pageX && null != b.clientX && (e = a.target.ownerDocument || d, f = e.documentElement, c = e.body, a.pageX = b.clientX + (f && f.scrollLeft || c && c.scrollLeft || 0) - (f && f.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (f && f.scrollTop || c && c.scrollTop || 0) - (f && f.clientTop || c && c.clientTop || 0)), !a.relatedTarget && h && (a.relatedTarget = h === a.target ? b.toElement : h), a.which || void 0 === g || (a.which = 1 & g ? 1 : 2 & g ? 3 : 4 & g ? 2 : 0), a
}
},
special: {
load: {
noBubble: !0
},
focus: {
trigger: function() {
if (this !== ra() && this.focus) try {
return this.focus(), !1
} catch (a) {}
},
delegateType: "focusin"
},
blur: {
trigger: function() {
return this === ra() && this.blur ? (this.blur(), !1) : void 0
},
delegateType: "focusout"
},
click: {
trigger: function() {
return n.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
},
_default: function(a) {
return n.nodeName(a.target, "a")
}
},
beforeunload: {
postDispatch: function(a) {
void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
}
}
},
simulate: function(a, b, c) {
var d = n.extend(new n.Event, c, {
type: a,
isSimulated: !0
});
n.event.trigger(d, null, b), d.isDefaultPrevented() && c.preventDefault()
}
}, n.removeEvent = d.removeEventListener ? function(a, b, c) {
a.removeEventListener && a.removeEventListener(b, c)
} : function(a, b, c) {
var d = "on" + b;
a.detachEvent && ("undefined" == typeof a[d] && (a[d] = null), a.detachEvent(d, c))
}, n.Event = function(a, b) {
return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? pa : qa) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
}, n.Event.prototype = {
constructor: n.Event,
isDefaultPrevented: qa,
isPropagationStopped: qa,
isImmediatePropagationStopped: qa,
preventDefault: function() {
var a = this.originalEvent;
this.isDefaultPrevented = pa, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
},
stopPropagation: function() {
var a = this.originalEvent;
this.isPropagationStopped = pa, a && !this.isSimulated && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
},
stopImmediatePropagation: function() {
var a = this.originalEvent;
this.isImmediatePropagationStopped = pa, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
}
}, n.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, function(a, b) {
n.event.special[a] = {
delegateType: b,
bindType: b,
handle: function(a) {
var c, d = this,
e = a.relatedTarget,
f = a.handleObj;
return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
}
}
}), l.submit || (n.event.special.submit = {
setup: function() {
return n.nodeName(this, "form") ? !1 : void n.event.add(this, "click._submit keypress._submit", function(a) {
var b = a.target,
c = n.nodeName(b, "input") || n.nodeName(b, "button") ? n.prop(b, "form") : void 0;
c && !n._data(c, "submit") && (n.event.add(c, "submit._submit", function(a) {
a._submitBubble = !0
}), n._data(c, "submit", !0))
})
},
postDispatch: function(a) {
a._submitBubble && (delete a._submitBubble, this.parentNode && !a.isTrigger && n.event.simulate("submit", this.parentNode, a))
},
teardown: function() {
return n.nodeName(this, "form") ? !1 : void n.event.remove(this, "._submit")
}
}), l.change || (n.event.special.change = {
setup: function() {
return ka.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (n.event.add(this, "propertychange._change", function(a) {
"checked" === a.originalEvent.propertyName && (this._justChanged = !0)
}), n.event.add(this, "click._change", function(a) {
this._justChanged && !a.isTrigger && (this._justChanged = !1), n.event.simulate("change", this, a)
})), !1) : void n.event.add(this, "beforeactivate._change", function(a) {
var b = a.target;
ka.test(b.nodeName) && !n._data(b, "change") && (n.event.add(b, "change._change", function(a) {
!this.parentNode || a.isSimulated || a.isTrigger || n.event.simulate("change", this.parentNode, a)
}), n._data(b, "change", !0))
})
},
handle: function(a) {
var b = a.target;
return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0
},
teardown: function() {
return n.event.remove(this, "._change"), !ka.test(this.nodeName)
}
}), l.focusin || n.each({
focus: "focusin",
blur: "focusout"
}, function(a, b) {
var c = function(a) {
n.event.simulate(b, a.target, n.event.fix(a))
};
n.event.special[b] = {
setup: function() {
var d = this.ownerDocument || this,
e = n._data(d, b);
e || d.addEventListener(a, c, !0), n._data(d, b, (e || 0) + 1)
},
teardown: function() {
var d = this.ownerDocument || this,
e = n._data(d, b) - 1;
e ? n._data(d, b, e) : (d.removeEventListener(a, c, !0), n._removeData(d, b))
}
}
}), n.fn.extend({
on: function(a, b, c, d) {
return sa(this, a, b, c, d)
},
one: function(a, b, c, d) {
return sa(this, a, b, c, d, 1)
},
off: function(a, b, c) {
var d, e;
if (a && a.preventDefault && a.handleObj) return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
if ("object" == typeof a) {
for (e in a) this.off(e, b, a[e]);
return this
}
return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = qa), this.each(function() {
n.event.remove(this, a, c, b)
})
},
trigger: function(a, b) {
return this.each(function() {
n.event.trigger(a, b, this)
})
},
triggerHandler: function(a, b) {
var c = this[0];
return c ? n.event.trigger(a, b, c, !0) : void 0
}
});
var ta = / jQuery\d+="(?:null|\d+)"/g,
ua = new RegExp("<(?:" + ba + ")[\\s/>]", "i"),
va = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,
wa = /<script|<style|<link/i,
xa = /checked\s*(?:[^=]|=\s*.checked.)/i,
ya = /^true\/(.*)/,
za = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
Aa = ca(d),
Ba = Aa.appendChild(d.createElement("div"));
function Ca(a, b) {
return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
}
function Da(a) {
return a.type = (null !== n.find.attr(a, "type")) + "/" + a.type, a
}
function Ea(a) {
var b = ya.exec(a.type);
return b ? a.type = b[1] : a.removeAttribute("type"), a
}
function Fa(a, b) {
if (1 === b.nodeType && n.hasData(a)) {
var c, d, e, f = n._data(a),
g = n._data(b, f),
h = f.events;
if (h) {
delete g.handle, g.events = {};
for (c in h)
for (d = 0, e = h[c].length; e > d; d++) n.event.add(b, c, h[c][d])
}
g.data && (g.data = n.extend({}, g.data))
}
}
function Ga(a, b) {
var c, d, e;
if (1 === b.nodeType) {
if (c = b.nodeName.toLowerCase(), !l.noCloneEvent && b[n.expando]) {
e = n._data(b);
for (d in e.events) n.removeEvent(b, d, e.handle);
b.removeAttribute(n.expando)
}
"script" === c && b.text !== a.text ? (Da(b).text = a.text, Ea(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), l.html5Clone && a.innerHTML && !n.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && Z.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
}
}
function Ha(a, b, c, d) {
b = f.apply([], b);
var e, g, h, i, j, k, m = 0,
o = a.length,
p = o - 1,
q = b[0],
r = n.isFunction(q);
if (r || o > 1 && "string" == typeof q && !l.checkClone && xa.test(q)) return a.each(function(e) {
var f = a.eq(e);
r && (b[0] = q.call(this, e, f.html())), Ha(f, b, c, d)
});
if (o && (k = ja(b, a[0].ownerDocument, !1, a, d), e = k.firstChild, 1 === k.childNodes.length && (k = e), e || d)) {
for (i = n.map(ea(k, "script"), Da), h = i.length; o > m; m++) g = k, m !== p && (g = n.clone(g, !0, !0), h && n.merge(i, ea(g, "script"))), c.call(a[m], g, m);
if (h)
for (j = i[i.length - 1].ownerDocument, n.map(i, Ea), m = 0; h > m; m++) g = i[m], _.test(g.type || "") && !n._data(g, "globalEval") && n.contains(j, g) && (g.src ? n._evalUrl && n._evalUrl(g.src) : n.globalEval((g.text || g.textContent || g.innerHTML || "").replace(za, "")));
k = e = null
}
return a
}
function Ia(a, b, c) {
for (var d, e = b ? n.filter(b, a) : a, f = 0; null != (d = e[f]); f++) c || 1 !== d.nodeType || n.cleanData(ea(d)), d.parentNode && (c && n.contains(d.ownerDocument, d) && fa(ea(d, "script")), d.parentNode.removeChild(d));
return a
}
n.extend({
htmlPrefilter: function(a) {
return a.replace(va, "<$1></$2>")
},
clone: function(a, b, c) {
var d, e, f, g, h, i = n.contains(a.ownerDocument, a);
if (l.html5Clone || n.isXMLDoc(a) || !ua.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (Ba.innerHTML = a.outerHTML, Ba.removeChild(f = Ba.firstChild)), !(l.noCloneEvent && l.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))
for (d = ea(f), h = ea(a), g = 0; null != (e = h[g]); ++g) d[g] && Ga(e, d[g]);
if (b)
if (c)
for (h = h || ea(a), d = d || ea(f), g = 0; null != (e = h[g]); g++) Fa(e, d[g]);
else Fa(a, f);
return d = ea(f, "script"), d.length > 0 && fa(d, !i && ea(a, "script")), d = h = e = null, f
},
cleanData: function(a, b) {
for (var d, e, f, g, h = 0, i = n.expando, j = n.cache, k = l.attributes, m = n.event.special; null != (d = a[h]); h++)
if ((b || M(d)) && (f = d[i], g = f && j[f])) {
if (g.events)
for (e in g.events) m[e] ? n.event.remove(d, e) : n.removeEvent(d, e, g.handle);
j[f] && (delete j[f], k || "undefined" == typeof d.removeAttribute ? d[i] = void 0 : d.removeAttribute(i), c.push(f))
}
}
}), n.fn.extend({
domManip: Ha,
detach: function(a) {
return Ia(this, a, !0)
},
remove: function(a) {
return Ia(this, a)
},
text: function(a) {
return Y(this, function(a) {
return void 0 === a ? n.text(this) : this.empty().append((this[0] && this[0].ownerDocument || d).createTextNode(a))
}, null, a, arguments.length)
},
append: function() {
return Ha(this, arguments, function(a) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var b = Ca(this, a);
b.appendChild(a)
}
})
},
prepend: function() {
return Ha(this, arguments, function(a) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var b = Ca(this, a);
b.insertBefore(a, b.firstChild)
}
})
},
before: function() {
return Ha(this, arguments, function(a) {
this.parentNode && this.parentNode.insertBefore(a, this)
})
},
after: function() {
return Ha(this, arguments, function(a) {
this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
})
},
empty: function() {
for (var a, b = 0; null != (a = this[b]); b++) {
1 === a.nodeType && n.cleanData(ea(a, !1));
while (a.firstChild) a.removeChild(a.firstChild);
a.options && n.nodeName(a, "select") && (a.options.length = 0)
}
return this
},
clone: function(a, b) {
return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function() {
return n.clone(this, a, b)
})
},
html: function(a) {
return Y(this, function(a) {
var b = this[0] || {},
c = 0,
d = this.length;
if (void 0 === a) return 1 === b.nodeType ? b.innerHTML.replace(ta, "") : void 0;
if ("string" == typeof a && !wa.test(a) && (l.htmlSerialize || !ua.test(a)) && (l.leadingWhitespace || !aa.test(a)) && !da[($.exec(a) || ["", ""])[1].toLowerCase()]) {
a = n.htmlPrefilter(a);
try {
for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ea(b, !1)), b.innerHTML = a);
b = 0
} catch (e) {}
}
b && this.empty().append(a)
}, null, a, arguments.length)
},
replaceWith: function() {
var a = [];
return Ha(this, arguments, function(b) {
var c = this.parentNode;
n.inArray(this, a) < 0 && (n.cleanData(ea(this)), c && c.replaceChild(b, this))
}, a)
}
}), n.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(a, b) {
n.fn[a] = function(a) {
for (var c, d = 0, e = [], f = n(a), h = f.length - 1; h >= d; d++) c = d === h ? this : this.clone(!0), n(f[d])[b](c), g.apply(e, c.get());
return this.pushStack(e)
}
});
var Ja, Ka = {
HTML: "block",
BODY: "block"
};
function La(a, b) {
var c = n(b.createElement(a)).appendTo(b.body),
d = n.css(c[0], "display");
return c.detach(), d
}
function Ma(a) {
var b = d,
c = Ka[a];
return c || (c = La(a, b), "none" !== c && c || (Ja = (Ja || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = (Ja[0].contentWindow || Ja[0].contentDocument).document, b.write(), b.close(), c = La(a, b), Ja.detach()), Ka[a] = c), c
}
var Na = /^margin/,
Oa = new RegExp("^(" + T + ")(?!px)[a-z%]+$", "i"),
Pa = function(a, b, c, d) {
var e, f, g = {};
for (f in b) g[f] = a.style[f], a.style[f] = b[f];
e = c.apply(a, d || []);
for (f in b) a.style[f] = g[f];
return e
},
Qa = d.documentElement;
! function() {
var b, c, e, f, g, h, i = d.createElement("div"),
j = d.createElement("div");
if (j.style) {
j.style.cssText = "float:left;opacity:.5", l.opacity = "0.5" === j.style.opacity, l.cssFloat = !!j.style.cssFloat, j.style.backgroundClip = "content-box", j.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === j.style.backgroundClip, i = d.createElement("div"), i.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute", j.innerHTML = "", i.appendChild(j), l.boxSizing = "" === j.style.boxSizing || "" === j.style.MozBoxSizing || "" === j.style.WebkitBoxSizing, n.extend(l, {
reliableHiddenOffsets: function() {
return null == b && k(), f
},
boxSizingReliable: function() {
return null == b && k(), e
},
pixelMarginRight: function() {
return null == b && k(), c
},
pixelPosition: function() {
return null == b && k(), b
},
reliableMarginRight: function() {
return null == b && k(), g
},
reliableMarginLeft: function() {
return null == b && k(), h
}
});
function k() {
var k, l, m = d.documentElement;
m.appendChild(i), j.style.cssText = "-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%", b = e = h = !1, c = g = !0, a.getComputedStyle && (l = a.getComputedStyle(j), b = "1%" !== (l || {}).top, h = "2px" === (l || {}).marginLeft, e = "4px" === (l || {
width: "4px"
}).width, j.style.marginRight = "50%", c = "4px" === (l || {
marginRight: "4px"
}).marginRight, k = j.appendChild(d.createElement("div")), k.style.cssText = j.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", k.style.marginRight = k.style.width = "0", j.style.width = "1px", g = !parseFloat((a.getComputedStyle(k) || {}).marginRight), j.removeChild(k)), j.style.display = "none", f = 0 === j.getClientRects().length, f && (j.style.display = "", j.innerHTML = "<table><tr><td></td><td>t</td></tr></table>", k = j.getElementsByTagName("td"), k[0].style.cssText = "margin:0;border:0;padding:0;display:none", f = 0 === k[0].offsetHeight, f && (k[0].style.display = "", k[1].style.display = "none", f = 0 === k[0].offsetHeight)), m.removeChild(i)
}
}
}();
var Ra, Sa, Ta = /^(top|right|bottom|left)$/;
a.getComputedStyle ? (Ra = function(b) {
var c = b.ownerDocument.defaultView;
return c.opener || (c = a), c.getComputedStyle(b)
}, Sa = function(a, b, c) {
var d, e, f, g, h = a.style;
return c = c || Ra(a), g = c ? c.getPropertyValue(b) || c[b] : void 0, c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), !l.pixelMarginRight() && Oa.test(g) && Na.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 === g ? g : g + ""
}) : Qa.currentStyle && (Ra = function(a) {
return a.currentStyle
}, Sa = function(a, b, c) {
var d, e, f, g, h = a.style;
return c = c || Ra(a), g = c ? c[b] : void 0, null == g && h && h[b] && (g = h[b]), Oa.test(g) && !Ta.test(b) && (d = h.left, e = a.runtimeStyle, f = e && e.left, f && (e.left = a.currentStyle.left), h.left = "fontSize" === b ? "1em" : g, g = h.pixelLeft + "px", h.left = d, f && (e.left = f)), void 0 === g ? g : g + "" || "auto"
});
function Ua(a, b) {
return {get: function() {
return a() ? void delete this.get : (this.get = b).apply(this, arguments)
}
}
}
var Va = /alpha\([^)]*\)/i,
Wa = /opacity\s*=\s*([^)]*)/i,
Xa = /^(none|table(?!-c[ea]).+)/,
Ya = new RegExp("^(" + T + ")(.*)$", "i"),
Za = {
position: "absolute",
visibility: "hidden",
display: "block"
},
$a = {
letterSpacing: "0",
fontWeight: "400"
},
_a = ["Webkit", "O", "Moz", "ms"],
ab = d.createElement("div").style;
function bb(a) {
if (a in ab) return a;
var b = a.charAt(0).toUpperCase() + a.slice(1),
c = _a.length;
while (c--)
if (a = _a[c] + b, a in ab) return a
}
function cb(a, b) {
for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = n._data(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && W(d) && (f[g] = n._data(d, "olddisplay", Ma(d.nodeName)))) : (e = W(d), (c && "none" !== c || !e) && n._data(d, "olddisplay", e ? c : n.css(d, "display"))));
for (g = 0; h > g; g++) d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
return a
}
function db(a, b, c) {
var d = Ya.exec(b);
return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
}
function eb(a, b, c, d, e) {
for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) "margin" === c && (g += n.css(a, c + V[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + V[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + V[f] + "Width", !0, e))) : (g += n.css(a, "padding" + V[f], !0, e), "padding" !== c && (g += n.css(a, "border" + V[f] + "Width", !0, e)));
return g
}
function fb(b, c, e) {
var f = !0,
g = "width" === c ? b.offsetWidth : b.offsetHeight,
h = Ra(b),
i = l.boxSizing && "border-box" === n.css(b, "boxSizing", !1, h);
if (d.msFullscreenElement && a.top !== a && b.getClientRects().length && (g = Math.round(100 * b.getBoundingClientRect()[c])), 0 >= g || null == g) {
if (g = Sa(b, c, h), (0 > g || null == g) && (g = b.style[c]), Oa.test(g)) return g;
f = i && (l.boxSizingReliable() || g === b.style[c]), g = parseFloat(g) || 0
}
return g + eb(b, c, e || (i ? "border" : "content"), f, h) + "px"
}
n.extend({
cssHooks: {
opacity: {get: function(a, b) {
if (b) {
var c = Sa(a, "opacity");
return "" === c ? "1" : c
}
}
}
},
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: {
"float": l.cssFloat ? "cssFloat" : "styleFloat"
},
style: function(a, b, c, d) {
if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
var e, f, g, h = n.camelCase(b),
i = a.style;
if (b = n.cssProps[h] || (n.cssProps[h] = bb(h) || h), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c) return g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b];
if (f = typeof c, "string" === f && (e = U.exec(c)) && e[1] && (c = X(a, b, e), f = "number"), null != c && c === c && ("number" === f && (c += e && e[3] || (n.cssNumber[h] ? "" : "px")), l.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), !(g && "set" in g && void 0 === (c = g.set(a, c, d))))) try {
i[b] = c
} catch (j) {}
}
},
css: function(a, b, c, d) {
var e, f, g, h = n.camelCase(b);
return b = n.cssProps[h] || (n.cssProps[h] = bb(h) || h), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (f = g.get(a, !0, c)), void 0 === f && (f = Sa(a, b, d)), "normal" === f && b in $a && (f = $a[b]), "" === c || c ? (e = parseFloat(f), c === !0 || isFinite(e) ? e || 0 : f) : f
}
}), n.each(["height", "width"], function(a, b) {
n.cssHooks[b] = {get: function(a, c, d) {
return c ? Xa.test(n.css(a, "display")) && 0 === a.offsetWidth ? Pa(a, Za, function() {
return fb(a, b, d)
}) : fb(a, b, d) : void 0
},
set: function(a, c, d) {
var e = d && Ra(a);
return db(a, c, d ? eb(a, b, d, l.boxSizing && "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
}
}
}), l.opacity || (n.cssHooks.opacity = {get: function(a, b) {
return Wa.test((b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : b ? "1" : ""
},
set: function(a, b) {
var c = a.style,
d = a.currentStyle,
e = n.isNumeric(b) ? "alpha(opacity=" + 100 * b + ")" : "",
f = d && d.filter || c.filter || "";
c.zoom = 1, (b >= 1 || "" === b) && "" === n.trim(f.replace(Va, "")) && c.removeAttribute && (c.removeAttribute("filter"), "" === b || d && !d.filter) || (c.filter = Va.test(f) ? f.replace(Va, e) : f + " " + e)
}
}), n.cssHooks.marginRight = Ua(l.reliableMarginRight, function(a, b) {
return b ? Pa(a, {
display: "inline-block"
}, Sa, [a, "marginRight"]) : void 0
}), n.cssHooks.marginLeft = Ua(l.reliableMarginLeft, function(a, b) {
return b ? (parseFloat(Sa(a, "marginLeft")) || (n.contains(a.ownerDocument, a) ? a.getBoundingClientRect().left - Pa(a, {
marginLeft: 0
}, function() {
return a.getBoundingClientRect().left
}) : 0)) + "px" : void 0
}), n.each({
margin: "",
padding: "",
border: "Width"
}, function(a, b) {
n.cssHooks[a + b] = {
expand: function(c) {
for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) e[a + V[d] + b] = f[d] || f[d - 2] || f[0];
return e
}
}, Na.test(a) || (n.cssHooks[a + b].set = db)
}), n.fn.extend({
css: function(a, b) {
return Y(this, function(a, b, c) {
var d, e, f = {},
g = 0;
if (n.isArray(b)) {
for (d = Ra(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d);
return f
}
return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
}, a, b, arguments.length > 1)
},
show: function() {
return cb(this, !0)
},
hide: function() {
return cb(this)
},
toggle: function(a) {
return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function() {
W(this) ? n(this).show() : n(this).hide()
})
}
});
function gb(a, b, c, d, e) {
return new gb.prototype.init(a, b, c, d, e)
}
n.Tween = gb, gb.prototype = {
constructor: gb,
init: function(a, b, c, d, e, f) {
this.elem = a, this.prop = c, this.easing = e || n.easing._default, this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
},
cur: function() {
var a = gb.propHooks[this.prop];
return a && a.get ? a.get(this) : gb.propHooks._default.get(this)
},
run: function(a) {
var b, c = gb.propHooks[this.prop];
return this.options.duration ? this.pos = b = n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : this.pos = b = a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : gb.propHooks._default.set(this), this
}
}, gb.prototype.init.prototype = gb.prototype, gb.propHooks = {
_default: {get: function(a) {
var b;
return 1 !== a.elem.nodeType || null != a.elem[a.prop] && null == a.elem.style[a.prop] ? a.elem[a.prop] : (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0)
},
set: function(a) {
n.fx.step[a.prop] ? n.fx.step[a.prop](a) : 1 !== a.elem.nodeType || null == a.elem.style[n.cssProps[a.prop]] && !n.cssHooks[a.prop] ? a.elem[a.prop] = a.now : n.style(a.elem, a.prop, a.now + a.unit)
}
}
}, gb.propHooks.scrollTop = gb.propHooks.scrollLeft = {set: function(a) {
a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
}
}, n.easing = {
linear: function(a) {
return a
},
swing: function(a) {
return .5 - Math.cos(a * Math.PI) / 2
},
_default: "swing"
}, n.fx = gb.prototype.init, n.fx.step = {};
var hb, ib, jb = /^(?:toggle|show|hide)$/,
kb = /queueHooks$/;
function lb() {
return a.setTimeout(function() {
hb = void 0
}), hb = n.now()
}
function mb(a, b) {
var c, d = {
height: a
},
e = 0;
for (b = b ? 1 : 0; 4 > e; e += 2 - b) c = V[e], d["margin" + c] = d["padding" + c] = a;
return b && (d.opacity = d.width = a), d
}
function nb(a, b, c) {
for (var d, e = (qb.tweeners[b] || []).concat(qb.tweeners["*"]), f = 0, g = e.length; g > f; f++)
if (d = e[f].call(c, b, a)) return d
}
function ob(a, b, c) {
var d, e, f, g, h, i, j, k, m = this,
o = {},
p = a.style,
q = a.nodeType && W(a),
r = n._data(a, "fxshow");
c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function() {
h.unqueued || i()
}), h.unqueued++, m.always(function() {
m.always(function() {
h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
})
})), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [p.overflow, p.overflowX, p.overflowY], j = n.css(a, "display"), k = "none" === j ? n._data(a, "olddisplay") || Ma(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (l.inlineBlockNeedsLayout && "inline" !== Ma(a.nodeName) ? p.zoom = 1 : p.display = "inline-block")), c.overflow && (p.overflow = "hidden", l.shrinkWrapBlocks() || m.always(function() {
p.overflow = c.overflow[0], p.overflowX = c.overflow[1], p.overflowY = c.overflow[2]
}));
for (d in b)
if (e = b[d], jb.exec(e)) {
if (delete b[d], f = f || "toggle" === e, e === (q ? "hide" : "show")) {
if ("show" !== e || !r || void 0 === r[d]) continue;
q = !0
}
o[d] = r && r[d] || n.style(a, d)
} else j = void 0;
if (n.isEmptyObject(o)) "inline" === ("none" === j ? Ma(a.nodeName) : j) && (p.display = j);
else {
r ? "hidden" in r && (q = r.hidden) : r = n._data(a, "fxshow", {}), f && (r.hidden = !q), q ? n(a).show() : m.done(function() {
n(a).hide()
}), m.done(function() {
var b;
n._removeData(a, "fxshow");
for (b in o) n.style(a, b, o[b])
});
for (d in o) g = nb(q ? r[d] : 0, d, m), d in r || (r[d] = g.start, q && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
}
}
function pb(a, b) {
var c, d, e, f, g;
for (c in a)
if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand" in g) {
f = g.expand(f), delete a[d];
for (c in f) c in a || (a[c] = f[c], b[c] = e)
} else b[d] = e
}
function qb(a, b, c) {
var d, e, f = 0,
g = qb.prefilters.length,
h = n.Deferred().always(function() {
delete i.elem
}),
i = function() {
if (e) return !1;
for (var b = hb || lb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++) j.tweens[g].run(f);
return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
},
j = h.promise({
elem: a,
props: n.extend({}, b),
opts: n.extend(!0, {
specialEasing: {},
easing: n.easing._default
}, c),
originalProperties: b,
originalOptions: c,
startTime: hb || lb(),
duration: c.duration,
tweens: [],
createTween: function(b, c) {
var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
return j.tweens.push(d), d
},
stop: function(b) {
var c = 0,
d = b ? j.tweens.length : 0;
if (e) return this;
for (e = !0; d > c; c++) j.tweens[c].run(1);
return b ? (h.notifyWith(a, [j, 1, 0]), h.resolveWith(a, [j, b])) : h.rejectWith(a, [j, b]), this
}
}),
k = j.props;
for (pb(k, j.opts.specialEasing); g > f; f++)
if (d = qb.prefilters[f].call(j, a, k, j.opts)) return n.isFunction(d.stop) && (n._queueHooks(j.elem, j.opts.queue).stop = n.proxy(d.stop, d)), d;
return n.map(k, nb, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
elem: a,
anim: j,
queue: j.opts.queue
})), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
}
n.Animation = n.extend(qb, {
tweeners: {
"*": [function(a, b) {
var c = this.createTween(a, b);
return X(c.elem, a, U.exec(b), c), c
}]
},
tweener: function(a, b) {
n.isFunction(a) ? (b = a, a = ["*"]) : a = a.match(G);
for (var c, d = 0, e = a.length; e > d; d++) c = a[d], qb.tweeners[c] = qb.tweeners[c] || [], qb.tweeners[c].unshift(b)
},
prefilters: [ob],
prefilter: function(a, b) {
b ? qb.prefilters.unshift(a) : qb.prefilters.push(a)
}
}), n.speed = function(a, b, c) {
var d = a && "object" == typeof a ? n.extend({}, a) : {
complete: c || !c && b || n.isFunction(a) && a,
duration: a,
easing: c && b || b && !n.isFunction(b) && b
};
return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function() {
n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
}, d
}, n.fn.extend({
fadeTo: function(a, b, c, d) {
return this.filter(W).css("opacity", 0).show().end().animate({
opacity: b
}, a, c, d)
},
animate: function(a, b, c, d) {
var e = n.isEmptyObject(a),
f = n.speed(b, c, d),
g = function() {
var b = qb(this, n.extend({}, a), f);
(e || n._data(this, "finish")) && b.stop(!0)
};
return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
},
stop: function(a, b, c) {
var d = function(a) {
var b = a.stop;
delete a.stop, b(c)
};
return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function() {
var b = !0,
e = null != a && a + "queueHooks",
f = n.timers,
g = n._data(this);
if (e) g[e] && g[e].stop && d(g[e]);
else
for (e in g) g[e] && g[e].stop && kb.test(e) && d(g[e]);
for (e = f.length; e--;) f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
(b || !c) && n.dequeue(this, a)
})
},
finish: function(a) {
return a !== !1 && (a = a || "fx"), this.each(function() {
var b, c = n._data(this),
d = c[a + "queue"],
e = c[a + "queueHooks"],
f = n.timers,
g = d ? d.length : 0;
for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
for (b = 0; g > b; b++) d[b] && d[b].finish && d[b].finish.call(this);
delete c.finish
})
}
}), n.each(["toggle", "show", "hide"], function(a, b) {
var c = n.fn[b];
n.fn[b] = function(a, d, e) {
return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(mb(b, !0), a, d, e)
}
}), n.each({
slideDown: mb("show"),
slideUp: mb("hide"),
slideToggle: mb("toggle"),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
},
fadeToggle: {
opacity: "toggle"
}
}, function(a, b) {
n.fn[a] = function(a, c, d) {
return this.animate(b, a, c, d)
}
}), n.timers = [], n.fx.tick = function() {
var a, b = n.timers,
c = 0;
for (hb = n.now(); c < b.length; c++) a = b[c], a() || b[c] !== a || b.splice(c--, 1);
b.length || n.fx.stop(), hb = void 0
}, n.fx.timer = function(a) {
n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
}, n.fx.interval = 13, n.fx.start = function() {
ib || (ib = a.setInterval(n.fx.tick, n.fx.interval))
}, n.fx.stop = function() {
a.clearInterval(ib), ib = null
}, n.fx.speeds = {
slow: 600,
fast: 200,
_default: 400
}, n.fn.delay = function(b, c) {
return b = n.fx ? n.fx.speeds[b] || b : b, c = c || "fx", this.queue(c, function(c, d) {
var e = a.setTimeout(c, b);
d.stop = function() {
a.clearTimeout(e)
}
})
},
function() {
var a, b = d.createElement("input"),
c = d.createElement("div"),
e = d.createElement("select"),
f = e.appendChild(d.createElement("option"));
c = d.createElement("div"), c.setAttribute("className", "t"), c.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", a = c.getElementsByTagName("a")[0], b.setAttribute("type", "checkbox"), c.appendChild(b), a = c.getElementsByTagName("a")[0], a.style.cssText = "top:1px", l.getSetAttribute = "t" !== c.className, l.style = /top/.test(a.getAttribute("style")), l.hrefNormalized = "/a" === a.getAttribute("href"), l.checkOn = !!b.value, l.optSelected = f.selected, l.enctype = !!d.createElement("form").enctype, e.disabled = !0, l.optDisabled = !f.disabled, b = d.createElement("input"), b.setAttribute("value", ""), l.input = "" === b.getAttribute("value"), b.value = "t", b.setAttribute("type", "radio"), l.radioValue = "t" === b.value
}();
var rb = /\r/g;
n.fn.extend({
val: function(a) {
var b, c, d, e = this[0]; {
if (arguments.length) return d = n.isFunction(a), this.each(function(c) {
var e;
1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function(a) {
return null == a ? "" : a + ""
})), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e))
});
if (e) return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(rb, "") : null == c ? "" : c)
}
}
}), n.extend({
valHooks: {
option: {get: function(a) {
var b = n.find.attr(a, "value");
return null != b ? b : n.trim(n.text(a))
}
},
select: {get: function(a) {
for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)
if (c = d[i], (c.selected || i === e) && (l.optDisabled ? !c.disabled : null === c.getAttribute("disabled")) && (!c.parentNode.disabled || !n.nodeName(c.parentNode, "optgroup"))) {
if (b = n(c).val(), f) return b;
g.push(b)
}
return g
},
set: function(a, b) {
var c, d, e = a.options,
f = n.makeArray(b),
g = e.length;
while (g--)
if (d = e[g], n.inArray(n.valHooks.option.get(d), f) >= 0) try {
d.selected = c = !0
} catch (h) {
d.scrollHeight
} else d.selected = !1;
return c || (a.selectedIndex = -1), e
}
}
}
}), n.each(["radio", "checkbox"], function() {
n.valHooks[this] = {set: function(a, b) {
return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) > -1 : void 0
}
}, l.checkOn || (n.valHooks[this].get = function(a) {
return null === a.getAttribute("value") ? "on" : a.value
})
});
var sb, tb, ub = n.expr.attrHandle,
vb = /^(?:checked|selected)$/i,
wb = l.getSetAttribute,
xb = l.input;
n.fn.extend({
attr: function(a, b) {
return Y(this, n.attr, a, b, arguments.length > 1)
},
removeAttr: function(a) {
return this.each(function() {
n.removeAttr(this, a)
})
}
}), n.extend({
attr: function(a, b, c) {
var d, e, f = a.nodeType;
if (3 !== f && 8 !== f && 2 !== f) return "undefined" == typeof a.getAttribute ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), e = n.attrHooks[b] || (n.expr.match.bool.test(b) ? tb : sb)), void 0 !== c ? null === c ? void n.removeAttr(a, b) : e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : (a.setAttribute(b, c + ""), c) : e && "get" in e && null !== (d = e.get(a, b)) ? d : (d = n.find.attr(a, b), null == d ? void 0 : d))
},
attrHooks: {
type: {set: function(a, b) {
if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
var c = a.value;
return a.setAttribute("type", b), c && (a.value = c), b
}
}
}
},
removeAttr: function(a, b) {
var c, d, e = 0,
f = b && b.match(G);
if (f && 1 === a.nodeType)
while (c = f[e++]) d = n.propFix[c] || c, n.expr.match.bool.test(c) ? xb && wb || !vb.test(c) ? a[d] = !1 : a[n.camelCase("default-" + c)] = a[d] = !1 : n.attr(a, c, ""), a.removeAttribute(wb ? c : d)
}
}), tb = {set: function(a, b, c) {
return b === !1 ? n.removeAttr(a, c) : xb && wb || !vb.test(c) ? a.setAttribute(!wb && n.propFix[c] || c, c) : a[n.camelCase("default-" + c)] = a[c] = !0, c
}
}, n.each(n.expr.match.bool.source.match(/\w+/g), function(a, b) {
var c = ub[b] || n.find.attr;
xb && wb || !vb.test(b) ? ub[b] = function(a, b, d) {
var e, f;
return d || (f = ub[b], ub[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, ub[b] = f), e
} : ub[b] = function(a, b, c) {
return c ? void 0 : a[n.camelCase("default-" + b)] ? b.toLowerCase() : null
}
}), xb && wb || (n.attrHooks.value = {set: function(a, b, c) {
return n.nodeName(a, "input") ? void(a.defaultValue = b) : sb && sb.set(a, b, c)
}
}), wb || (sb = {set: function(a, b, c) {
var d = a.getAttributeNode(c);
return d || a.setAttributeNode(d = a.ownerDocument.createAttribute(c)), d.value = b += "", "value" === c || b === a.getAttribute(c) ? b : void 0
}
}, ub.id = ub.name = ub.coords = function(a, b, c) {
var d;
return c ? void 0 : (d = a.getAttributeNode(b)) && "" !== d.value ? d.value : null
}, n.valHooks.button = {get: function(a, b) {
var c = a.getAttributeNode(b);
return c && c.specified ? c.value : void 0
},
set: sb.set
}, n.attrHooks.contenteditable = {set: function(a, b, c) {
sb.set(a, "" === b ? !1 : b, c)
}
}, n.each(["width", "height"], function(a, b) {
n.attrHooks[b] = {set: function(a, c) {
return "" === c ? (a.setAttribute(b, "auto"), c) : void 0
}
}
})), l.style || (n.attrHooks.style = {get: function(a) {
return a.style.cssText || void 0
},
set: function(a, b) {
return a.style.cssText = b + ""
}
});
var yb = /^(?:input|select|textarea|button|object)$/i,
zb = /^(?:a|area)$/i;
n.fn.extend({
prop: function(a, b) {
return Y(this, n.prop, a, b, arguments.length > 1)
},
removeProp: function(a) {
return a = n.propFix[a] || a, this.each(function() {
try {
this[a] = void 0, delete this[a]
} catch (b) {}
})
}
}), n.extend({
prop: function(a, b, c) {
var d, e, f = a.nodeType;
if (3 !== f && 8 !== f && 2 !== f) return 1 === f && n.isXMLDoc(a) || (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b]
},
propHooks: {
tabIndex: {get: function(a) {
var b = n.find.attr(a, "tabindex");
return b ? parseInt(b, 10) : yb.test(a.nodeName) || zb.test(a.nodeName) && a.href ? 0 : -1
}
}
},
propFix: {
"for": "htmlFor",
"class": "className"
}
}), l.hrefNormalized || n.each(["href", "src"], function(a, b) {
n.propHooks[b] = {get: function(a) {
return a.getAttribute(b, 4)
}
}
}), l.optSelected || (n.propHooks.selected = {get: function(a) {
var b = a.parentNode;
return b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex), null
}
}), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
n.propFix[this.toLowerCase()] = this
}), l.enctype || (n.propFix.enctype = "encoding");
var Ab = /[\t\r\n\f]/g;
function Bb(a) {
return n.attr(a, "class") || ""
}
n.fn.extend({
addClass: function(a) {
var b, c, d, e, f, g, h, i = 0;
if (n.isFunction(a)) return this.each(function(b) {
n(this).addClass(a.call(this, b, Bb(this)))
});
if ("string" == typeof a && a) {
b = a.match(G) || [];
while (c = this[i++])
if (e = Bb(c), d = 1 === c.nodeType && (" " + e + " ").replace(Ab, " ")) {
g = 0;
while (f = b[g++]) d.indexOf(" " + f + " ") < 0 && (d += f + " ");
h = n.trim(d), e !== h && n.attr(c, "class", h)
}
}
return this
},
removeClass: function(a) {
var b, c, d, e, f, g, h, i = 0;
if (n.isFunction(a)) return this.each(function(b) {
n(this).removeClass(a.call(this, b, Bb(this)))
});
if (!arguments.length) return this.attr("class", "");
if ("string" == typeof a && a) {
b = a.match(G) || [];
while (c = this[i++])
if (e = Bb(c), d = 1 === c.nodeType && (" " + e + " ").replace(Ab, " ")) {
g = 0;
while (f = b[g++])
while (d.indexOf(" " + f + " ") > -1) d = d.replace(" " + f + " ", " ");
h = n.trim(d), e !== h && n.attr(c, "class", h)
}
}
return this
},
toggleClass: function(a, b) {
var c = typeof a;
return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : n.isFunction(a) ? this.each(function(c) {
n(this).toggleClass(a.call(this, c, Bb(this), b), b)
}) : this.each(function() {
var b, d, e, f;
if ("string" === c) {
d = 0, e = n(this), f = a.match(G) || [];
while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
} else(void 0 === a || "boolean" === c) && (b = Bb(this), b && n._data(this, "__className__", b), n.attr(this, "class", b || a === !1 ? "" : n._data(this, "__className__") || ""))
})
},
hasClass: function(a) {
var b, c, d = 0;
b = " " + a + " ";
while (c = this[d++])
if (1 === c.nodeType && (" " + Bb(c) + " ").replace(Ab, " ").indexOf(b) > -1) return !0;
return !1
}
}), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(a, b) {
n.fn[b] = function(a, c) {
return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
}
}), n.fn.extend({
hover: function(a, b) {
return this.mouseenter(a).mouseleave(b || a)
}
});
var Cb = a.location,
Db = n.now(),
Eb = /\?/,
Fb = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
n.parseJSON = function(b) {
if (a.JSON && a.JSON.parse) return a.JSON.parse(b + "");
var c, d = null,
e = n.trim(b + "");
return e && !n.trim(e.replace(Fb, function(a, b, e, f) {
return c && b && (d = 0), 0 === d ? a : (c = e || b, d += !f - !e, "")
})) ? Function("return " + e)() : n.error("Invalid JSON: " + b)
}, n.parseXML = function(b) {
var c, d;
if (!b || "string" != typeof b) return null;
try {
a.DOMParser ? (d = new a.DOMParser, c = d.parseFromString(b, "text/xml")) : (c = new a.ActiveXObject("Microsoft.XMLDOM"), c.async = "false", c.loadXML(b))
} catch (e) {
c = void 0
}
return c && c.documentElement && !c.getElementsByTagName("parsererror").length || n.error("Invalid XML: " + b), c
};
var Gb = /#.*$/,
Hb = /([?&])_=[^&]*/,
Ib = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
Jb = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
Kb = /^(?:GET|HEAD)$/,
Lb = /^\/\//,
Mb = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
Nb = {},
Ob = {},
Pb = "*/".concat("*"),
Qb = Cb.href,
Rb = Mb.exec(Qb.toLowerCase()) || [];
function Sb(a) {
return function(b, c) {
"string" != typeof b && (c = b, b = "*");
var d, e = 0,
f = b.toLowerCase().match(G) || [];
if (n.isFunction(c))
while (d = f[e++]) "+" === d.charAt(0) ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
}
}
function Tb(a, b, c, d) {
var e = {},
f = a === Ob;
function g(h) {
var i;
return e[h] = !0, n.each(a[h] || [], function(a, h) {
var j = h(b, c, d);
return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
}), i
}
return g(b.dataTypes[0]) || !e["*"] && g("*")
}
function Ub(a, b) {
var c, d, e = n.ajaxSettings.flatOptions || {};
for (d in b) void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
return c && n.extend(!0, a, c), a
}
function Vb(a, b, c) {
var d, e, f, g, h = a.contents,
i = a.dataTypes;
while ("*" === i[0]) i.shift(), void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
if (e)
for (g in h)
if (h[g] && h[g].test(e)) {
i.unshift(g);
break
}
if (i[0] in c) f = i[0];
else {
for (g in c) {
if (!i[0] || a.converters[g + " " + i[0]]) {
f = g;
break
}
d || (d = g)
}
f = f || d
}
return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
}
function Wb(a, b, c, d) {
var e, f, g, h, i, j = {},
k = a.dataTypes.slice();
if (k[1])
for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
f = k.shift();
while (f)
if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())
if ("*" === f) f = i;
else if ("*" !== i && i !== f) {
if (g = j[i + " " + f] || j["* " + f], !g)
for (e in j)
if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
break
}
if (g !== !0)
if (g && a["throws"]) b = g(b);
else try {
b = g(b)
} catch (l) {
return {
state: "parsererror",
error: g ? l : "No conversion from " + i + " to " + f
}
}
}
return {
state: "success",
data: b
}
}
n.extend({
active: 0,
lastModified: {},
etag: {},
ajaxSettings: {
url: Qb,
type: "GET",
isLocal: Jb.test(Rb[1]),
global: !0,
processData: !0,
async: !0,
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
accepts: {
"*": Pb,
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": n.parseJSON,
"text xml": n.parseXML
},
flatOptions: {
url: !0,
context: !0
}
},
ajaxSetup: function(a, b) {
return b ? Ub(Ub(a, n.ajaxSettings), b) : Ub(n.ajaxSettings, a)
},
ajaxPrefilter: Sb(Nb),
ajaxTransport: Sb(Ob),
ajax: function(b, c) {
"object" == typeof b && (c = b, b = void 0), c = c || {};
var d, e, f, g, h, i, j, k, l = n.ajaxSetup({}, c),
m = l.context || l,
o = l.context && (m.nodeType || m.jquery) ? n(m) : n.event,
p = n.Deferred(),
q = n.Callbacks("once memory"),
r = l.statusCode || {},
s = {},
t = {},
u = 0,
v = "canceled",
w = {
readyState: 0,
getResponseHeader: function(a) {
var b;
if (2 === u) {
if (!k) {
k = {};
while (b = Ib.exec(g)) k[b[1].toLowerCase()] = b[2]
}
b = k[a.toLowerCase()]
}
return null == b ? null : b
},
getAllResponseHeaders: function() {
return 2 === u ? g : null
},
setRequestHeader: function(a, b) {
var c = a.toLowerCase();
return u || (a = t[c] = t[c] || a, s[a] = b), this
},
overrideMimeType: function(a) {
return u || (l.mimeType = a), this
},
statusCode: function(a) {
var b;
if (a)
if (2 > u)
for (b in a) r[b] = [r[b], a[b]];
else w.always(a[w.status]);
return this
},
abort: function(a) {
var b = a || v;
return j && j.abort(b), y(0, b), this
}
};
if (p.promise(w).complete = q.add, w.success = w.done, w.error = w.fail, l.url = ((b || l.url || Qb) + "").replace(Gb, "").replace(Lb, Rb[1] + "//"), l.type = c.method || c.type || l.method || l.type, l.dataTypes = n.trim(l.dataType || "*").toLowerCase().match(G) || [""], null == l.crossDomain && (d = Mb.exec(l.url.toLowerCase()), l.crossDomain = !(!d || d[1] === Rb[1] && d[2] === Rb[2] && (d[3] || ("http:" === d[1] ? "80" : "443")) === (Rb[3] || ("http:" === Rb[1] ? "80" : "443")))), l.data && l.processData && "string" != typeof l.data && (l.data = n.param(l.data, l.traditional)), Tb(Nb, l, c, w), 2 === u) return w;
i = n.event && l.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), l.type = l.type.toUpperCase(), l.hasContent = !Kb.test(l.type), f = l.url, l.hasContent || (l.data && (f = l.url += (Eb.test(f) ? "&" : "?") + l.data, delete l.data), l.cache === !1 && (l.url = Hb.test(f) ? f.replace(Hb, "$1_=" + Db++) : f + (Eb.test(f) ? "&" : "?") + "_=" + Db++)), l.ifModified && (n.lastModified[f] && w.setRequestHeader("If-Modified-Since", n.lastModified[f]), n.etag[f] && w.setRequestHeader("If-None-Match", n.etag[f])), (l.data && l.hasContent && l.contentType !== !1 || c.contentType) && w.setRequestHeader("Content-Type", l.contentType), w.setRequestHeader("Accept", l.dataTypes[0] && l.accepts[l.dataTypes[0]] ? l.accepts[l.dataTypes[0]] + ("*" !== l.dataTypes[0] ? ", " + Pb + "; q=0.01" : "") : l.accepts["*"]);
for (e in l.headers) w.setRequestHeader(e, l.headers[e]);
if (l.beforeSend && (l.beforeSend.call(m, w, l) === !1 || 2 === u)) return w.abort();
v = "abort";
for (e in {
success: 1,
error: 1,
complete: 1
}) w[e](l[e]);
if (j = Tb(Ob, l, c, w)) {
if (w.readyState = 1, i && o.trigger("ajaxSend", [w, l]), 2 === u) return w;
l.async && l.timeout > 0 && (h = a.setTimeout(function() {
w.abort("timeout")
}, l.timeout));
try {
u = 1, j.send(s, y)
} catch (x) {
if (!(2 > u)) throw x;
y(-1, x)
}
} else y(-1, "No Transport");
function y(b, c, d, e) {
var k, s, t, v, x, y = c;
2 !== u && (u = 2, h && a.clearTimeout(h), j = void 0, g = e || "", w.readyState = b > 0 ? 4 : 0, k = b >= 200 && 300 > b || 304 === b, d && (v = Vb(l, w, d)), v = Wb(l, v, w, k), k ? (l.ifModified && (x = w.getResponseHeader("Last-Modified"), x && (n.lastModified[f] = x), x = w.getResponseHeader("etag"), x && (n.etag[f] = x)), 204 === b || "HEAD" === l.type ? y = "nocontent" : 304 === b ? y = "notmodified" : (y = v.state, s = v.data, t = v.error, k = !t)) : (t = y, (b || !y) && (y = "error", 0 > b && (b = 0))), w.status = b, w.statusText = (c || y) + "", k ? p.resolveWith(m, [s, y, w]) : p.rejectWith(m, [w, y, t]), w.statusCode(r), r = void 0, i && o.trigger(k ? "ajaxSuccess" : "ajaxError", [w, l, k ? s : t]), q.fireWith(m, [w, y]), i && (o.trigger("ajaxComplete", [w, l]), --n.active || n.event.trigger("ajaxStop")))
}
return w
},
getJSON: function(a, b, c) {
return n.get(a, b, c, "json")
},
getScript: function(a, b) {
return n.get(a, void 0, b, "script")
}
}), n.each(["get", "post"], function(a, b) {
n[b] = function(a, c, d, e) {
return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax(n.extend({
url: a,
type: b,
dataType: e,
data: c,
success: d
}, n.isPlainObject(a) && a))
}
}), n._evalUrl = function(a) {
return n.ajax({
url: a,
type: "GET",
dataType: "script",
cache: !0,
async: !1,
global: !1,
"throws": !0
})
}, n.fn.extend({
wrapAll: function(a) {
if (n.isFunction(a)) return this.each(function(b) {
n(this).wrapAll(a.call(this, b))
});
if (this[0]) {
var b = n(a, this[0].ownerDocument).eq(0).clone(!0);
this[0].parentNode && b.insertBefore(this[0]), b.map(function() {
var a = this;
while (a.firstChild && 1 === a.firstChild.nodeType) a = a.firstChild;
return a
}).append(this)
}
return this
},
wrapInner: function(a) {
return n.isFunction(a) ? this.each(function(b) {
n(this).wrapInner(a.call(this, b))
}) : this.each(function() {
var b = n(this),
c = b.contents();
c.length ? c.wrapAll(a) : b.append(a)
})
},
wrap: function(a) {
var b = n.isFunction(a);
return this.each(function(c) {
n(this).wrapAll(b ? a.call(this, c) : a)
})
},
unwrap: function() {
return this.parent().each(function() {
n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
}).end()
}
});
function Xb(a) {
return a.style && a.style.display || n.css(a, "display")
}
function Yb(a) {
while (a && 1 === a.nodeType) {
if ("none" === Xb(a) || "hidden" === a.type) return !0;
a = a.parentNode
}
return !1
}
n.expr.filters.hidden = function(a) {
return l.reliableHiddenOffsets() ? a.offsetWidth <= 0 && a.offsetHeight <= 0 && !a.getClientRects().length : Yb(a)
}, n.expr.filters.visible = function(a) {
return !n.expr.filters.hidden(a)
};
var Zb = /%20/g,
$b = /\[\]$/,
_b = /\r?\n/g,
ac = /^(?:submit|button|image|reset|file)$/i,
bc = /^(?:input|select|textarea|keygen)/i;
function cc(a, b, c, d) {
var e;
if (n.isArray(b)) n.each(b, function(b, e) {
c || $b.test(a) ? d(a, e) : cc(a + "[" + ("object" == typeof e && null != e ? b : "") + "]", e, c, d)
});
else if (c || "object" !== n.type(b)) d(a, b);
else
for (e in b) cc(a + "[" + e + "]", b[e], c, d)
}
n.param = function(a, b) {
var c, d = [],
e = function(a, b) {
b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
};
if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a)) n.each(a, function() {
e(this.name, this.value)
});
else
for (c in a) cc(c, a[c], b, e);
return d.join("&").replace(Zb, "+")
}, n.fn.extend({
serialize: function() {
return n.param(this.serializeArray())
},
serializeArray: function() {
return this.map(function() {
var a = n.prop(this, "elements");
return a ? n.makeArray(a) : this
}).filter(function() {
var a = this.type;
return this.name && !n(this).is(":disabled") && bc.test(this.nodeName) && !ac.test(a) && (this.checked || !Z.test(a))
}).map(function(a, b) {
var c = n(this).val();
return null == c ? null : n.isArray(c) ? n.map(c, function(a) {
return {
name: b.name,
value: a.replace(_b, "\r\n")
}
}) : {
name: b.name,
value: c.replace(_b, "\r\n")
}
}).get()
}
}), n.ajaxSettings.xhr = void 0 !== a.ActiveXObject ? function() {
return this.isLocal ? hc() : d.documentMode > 8 ? gc() : /^(get|post|head|put|delete|options)$/i.test(this.type) && gc() || hc()
} : gc;
var dc = 0,
ec = {},
fc = n.ajaxSettings.xhr();
a.attachEvent && a.attachEvent("onunload", function() {
for (var a in ec) ec[a](void 0, !0)
}), l.cors = !!fc && "withCredentials" in fc, fc = l.ajax = !!fc, fc && n.ajaxTransport(function(b) {
if (!b.crossDomain || l.cors) {
var c;
return {
send: function(d, e) {
var f, g = b.xhr(),
h = ++dc;
if (g.open(b.type, b.url, b.async, b.username, b.password), b.xhrFields)
for (f in b.xhrFields) g[f] = b.xhrFields[f];
b.mimeType && g.overrideMimeType && g.overrideMimeType(b.mimeType), b.crossDomain || d["X-Requested-With"] || (d["X-Requested-With"] = "XMLHttpRequest");
for (f in d) void 0 !== d[f] && g.setRequestHeader(f, d[f] + "");
g.send(b.hasContent && b.data || null), c = function(a, d) {
var f, i, j;
if (c && (d || 4 === g.readyState))
if (delete ec[h], c = void 0, g.onreadystatechange = n.noop, d) 4 !== g.readyState && g.abort();
else {
j = {}, f = g.status, "string" == typeof g.responseText && (j.text = g.responseText);
try {
i = g.statusText
} catch (k) {
i = ""
}
f || !b.isLocal || b.crossDomain ? 1223 === f && (f = 204) : f = j.text ? 200 : 404
}
j && e(f, i, j, g.getAllResponseHeaders())
}, b.async ? 4 === g.readyState ? a.setTimeout(c) : g.onreadystatechange = ec[h] = c : c()
},
abort: function() {
c && c(void 0, !0)
}
}
}
});
function gc() {
try {
return new a.XMLHttpRequest
} catch (b) {}
}
function hc() {
try {
return new a.ActiveXObject("Microsoft.XMLHTTP")
} catch (b) {}
}
n.ajaxPrefilter(function(a) {
a.crossDomain && (a.contents.script = !1)
}), n.ajaxSetup({
accepts: {
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
},
contents: {
script: /\b(?:java|ecma)script\b/
},
converters: {
"text script": function(a) {
return n.globalEval(a), a
}
}
}), n.ajaxPrefilter("script", function(a) {
void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET", a.global = !1)
}), n.ajaxTransport("script", function(a) {
if (a.crossDomain) {
var b, c = d.head || n("head")[0] || d.documentElement;
return {
send: function(e, f) {
b = d.createElement("script"), b.async = !0, a.scriptCharset && (b.charset = a.scriptCharset), b.src = a.url, b.onload = b.onreadystatechange = function(a, c) {
(c || !b.readyState || /loaded|complete/.test(b.readyState)) && (b.onload = b.onreadystatechange = null, b.parentNode && b.parentNode.removeChild(b), b = null, c || f(200, "success"))
}, c.insertBefore(b, c.firstChild)
},
abort: function() {
b && b.onload(void 0, !0)
}
}
}
});
var ic = [],
jc = /(=)\?(?=&|$)|\?\?/;
n.ajaxSetup({
jsonp: "callback",
jsonpCallback: function() {
var a = ic.pop() || n.expando + "_" + Db++;
return this[a] = !0, a
}
}), n.ajaxPrefilter("json jsonp", function(b, c, d) {
var e, f, g, h = b.jsonp !== !1 && (jc.test(b.url) ? "url" : "string" == typeof b.data && 0 === (b.contentType || "").indexOf("application/x-www-form-urlencoded") && jc.test(b.data) && "data");
return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(jc, "$1" + e) : b.jsonp !== !1 && (b.url += (Eb.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function() {
return g || n.error(e + " was not called"), g[0]
}, b.dataTypes[0] = "json", f = a[e], a[e] = function() {
g = arguments
}, d.always(function() {
void 0 === f ? n(a).removeProp(e) : a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, ic.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
}), "script") : void 0
}), l.createHTMLDocument = function() {
if (!d.implementation.createHTMLDocument) return !1;
var a = d.implementation.createHTMLDocument("");
return a.body.innerHTML = "<form></form><form></form>", 2 === a.body.childNodes.length
}(), n.parseHTML = function(a, b, c) {
if (!a || "string" != typeof a) return null;
"boolean" == typeof b && (c = b, b = !1), b = b || (l.createHTMLDocument ? d.implementation.createHTMLDocument("") : d);
var e = x.exec(a),
f = !c && [];
return e ? [b.createElement(e[1])] : (e = ja([a], b, f), f && f.length && n(f).remove(), n.merge([], e.childNodes))
};
var kc = n.fn.load;
n.fn.load = function(a, b, c) {
if ("string" != typeof a && kc) return kc.apply(this, arguments);
var d, e, f, g = this,
h = a.indexOf(" ");
return h > -1 && (d = n.trim(a.slice(h, a.length)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
url: a,
type: e || "GET",
dataType: "html",
data: b
}).done(function(a) {
f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
}).always(c && function(a, b) {
g.each(function() {
c.apply(g, f || [a.responseText, b, a])
})
}), this
}, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(a, b) {
n.fn[b] = function(a) {
return this.on(b, a)
}
}), n.expr.filters.animated = function(a) {
return n.grep(n.timers, function(b) {
return a === b.elem
}).length
};
function lc(a) {
return n.isWindow(a) ? a : 9 === a.nodeType ? a.defaultView || a.parentWindow : !1
}
n.offset = {
setOffset: function(a, b, c) {
var d, e, f, g, h, i, j, k = n.css(a, "position"),
l = n(a),
m = {};
"static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && n.inArray("auto", [f, i]) > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, n.extend({}, h))), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using" in b ? b.using.call(a, m) : l.css(m)
}
}, n.fn.extend({
offset: function(a) {
if (arguments.length) return void 0 === a ? this : this.each(function(b) {
n.offset.setOffset(this, a, b)
});
var b, c, d = {
top: 0,
left: 0
},
e = this[0],
f = e && e.ownerDocument;
if (f) return b = f.documentElement, n.contains(b, e) ? ("undefined" != typeof e.getBoundingClientRect && (d = e.getBoundingClientRect()), c = lc(f), {
top: d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
left: d.left + (c.pageXOffset || b.scrollLeft) - (b.clientLeft || 0)
}) : d
},
position: function() {
if (this[0]) {
var a, b, c = {
top: 0,
left: 0
},
d = this[0];
return "fixed" === n.css(d, "position") ? b = d.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (c = a.offset()), c.top += n.css(a[0], "borderTopWidth", !0) - a.scrollTop(), c.left += n.css(a[0], "borderLeftWidth", !0) - a.scrollLeft()), {
top: b.top - c.top - n.css(d, "marginTop", !0),
left: b.left - c.left - n.css(d, "marginLeft", !0)
}
}
},
offsetParent: function() {
return this.map(function() {
var a = this.offsetParent;
while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) a = a.offsetParent;
return a || Qa
})
}
}), n.each({
scrollLeft: "pageXOffset",
scrollTop: "pageYOffset"
}, function(a, b) {
var c = /Y/.test(b);
n.fn[a] = function(d) {
return Y(this, function(a, d, e) {
var f = lc(a);
return void 0 === e ? f ? b in f ? f[b] : f.document.documentElement[d] : a[d] : void(f ? f.scrollTo(c ? n(f).scrollLeft() : e, c ? e : n(f).scrollTop()) : a[d] = e)
}, a, d, arguments.length, null)
}
}), n.each(["top", "left"], function(a, b) {
n.cssHooks[b] = Ua(l.pixelPosition, function(a, c) {
return c ? (c = Sa(a, b), Oa.test(c) ? n(a).position()[b] + "px" : c) : void 0
})
}), n.each({
Height: "height",
Width: "width"
}, function(a, b) {
n.each({
padding: "inner" + a,
content: b,
"": "outer" + a
}, function(c, d) {
n.fn[d] = function(d, e) {
var f = arguments.length && (c || "boolean" != typeof d),
g = c || (d === !0 || e === !0 ? "margin" : "border");
return Y(this, function(b, c, d) {
var e;
return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
}, b, f ? d : void 0, f, null)
}
})
}), n.fn.extend({
bind: function(a, b, c) {
return this.on(a, null, b, c)
},
unbind: function(a, b) {
return this.off(a, null, b)
},
delegate: function(a, b, c, d) {
return this.on(b, a, c, d)
},
undelegate: function(a, b, c) {
return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
}
}), n.fn.size = function() {
return this.length
}, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function() {
return n
});
var mc = a.jQuery,
nc = a.$;
return n.noConflict = function(b) {
return a.$ === n && (a.$ = nc), b && a.jQuery === n && (a.jQuery = mc), n
}, b || (a.jQuery = a.$ = n), n
});
var DateFormatter;
! function() {
"use strict";
var e, t, a, r, n, o;
n = 864e5, o = 3600, e = function(e, t) {
return "string" == typeof e && "string" == typeof t && e.toLowerCase() === t.toLowerCase()
}, t = function(e, a, r) {
var n = r || "0",
o = e.toString();
return o.length < a ? t(n + o, a) : o
}, a = function(e) {
var t, r;
for (e = e || {}, t = 1; t < arguments.length; t++)
if (r = arguments[t])
for (var n in r) r.hasOwnProperty(n) && ("object" == typeof r[n] ? a(e[n], r[n]) : e[n] = r[n]);
return e
}, r = {
dateSettings: {
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
meridiem: ["AM", "PM"],
ordinal: function(e) {
var t = e % 10,
a = {
1: "st",
2: "nd",
3: "rd"
};
return 1 !== Math.floor(e % 100 / 10) && a[t] ? a[t] : "th"
}
},
separators: /[ \-+\/\.T:@]/g,
validParts: /[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,
intParts: /[djwNzmnyYhHgGis]/g,
tzParts: /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,
tzClip: /[^-+\dA-Z]/g
}, (DateFormatter = function(e) {
var t = this,
n = a(r, e);
t.dateSettings = n.dateSettings, t.separators = n.separators, t.validParts = n.validParts, t.intParts = n.intParts, t.tzParts = n.tzParts, t.tzClip = n.tzClip
}).prototype = {
constructor: DateFormatter,
parseDate: function(t, a) {
var r, n, o, i, s, d, u, l, f, c, h = this,
m = !1,
g = !1,
p = h.dateSettings,
y = {
date: null,
year: null,
month: null,
day: null,
hour: 0,
min: 0,
sec: 0
};
if (t) {
if (t instanceof Date) return t;
if ("number" == typeof t) return new Date(t);
if ("U" === a) return (o = parseInt(t)) ? new Date(1e3 * o) : t;
if ("string" != typeof t) return "";
if (!(r = a.match(h.validParts)) || 0 === r.length) throw new Error("Invalid date format definition.");
for (n = t.replace(h.separators, "\0").split("\0"), o = 0; o < n.length; o++) switch (i = n[o], s = parseInt(i), r[o]) {
case "y":
case "Y":
2 === (f = i.length) ? y.year = parseInt((s < 70 ? "20" : "19") + i) : 4 === f && (y.year = s), m = !0;
break;
case "m":
case "n":
case "M":
case "F":
isNaN(i) ? ((d = p.monthsShort.indexOf(i)) > -1 && (y.month = d + 1), (d = p.months.indexOf(i)) > -1 && (y.month = d + 1)) : s >= 1 && s <= 12 && (y.month = s), m = !0;
break;
case "d":
case "j":
s >= 1 && s <= 31 && (y.day = s), m = !0;
break;
case "g":
case "h":
c = n[u = r.indexOf("a") > -1 ? r.indexOf("a") : r.indexOf("A") > -1 ? r.indexOf("A") : -1], u > -1 ? (l = e(c, p.meridiem[0]) ? 0 : e(c, p.meridiem[1]) ? 12 : -1, s >= 1 && s <= 12 && l > -1 ? y.hour = s + l - 1 : s >= 0 && s <= 23 && (y.hour = s)) : s >= 0 && s <= 23 && (y.hour = s), g = !0;
break;
case "G":
case "H":
s >= 0 && s <= 23 && (y.hour = s), g = !0;
break;
case "i":
s >= 0 && s <= 59 && (y.min = s), g = !0;
break;
case "s":
s >= 0 && s <= 59 && (y.sec = s), g = !0
}
if (!0 === m && y.year && y.month && y.day) y.date = new Date(y.year, y.month - 1, y.day, y.hour, y.min, y.sec, 0);
else {
if (!0 !== g) return !1;
y.date = new Date(0, 0, 0, y.hour, y.min, y.sec, 0)
}
return y.date
}
},
guessDate: function(e, t) {
if ("string" != typeof e) return e;
var a, r, n, o, i = e.replace(this.separators, "\0").split("\0"),
s = t.match(this.validParts),
d = new Date,
u = 0;
if (!/^[djmn]/g.test(s[0])) return e;
for (r = 0; r < i.length; r++) {
switch (u = 2, n = i[r], o = parseInt(n.substr(0, 2)), r) {
case 0:
"m" === s[0] || "n" === s[0] ? d.setMonth(o - 1) : d.setDate(o);
break;
case 1:
"m" === s[0] || "n" === s[0] ? d.setDate(o) : d.setMonth(o - 1);
break;
case 2:
a = d.getFullYear(), n.length < 4 ? (d.setFullYear(parseInt(a.toString().substr(0, 4 - n.length) + n)), u = n.length) : (d.setFullYear = parseInt(n.substr(0, 4)), u = 4);
break;
case 3:
d.setHours(o);
break;
case 4:
d.setMinutes(o);
break;
case 5:
d.setSeconds(o)
}
n.substr(u).length > 0 && i.splice(r + 1, 0, n.substr(u))
}
return d
},
parseFormat: function(e, a) {
var r, i = this,
s = i.dateSettings,
d = /\\?(.?)/gi,
u = function(e, t) {
return r[e] ? r[e]() : t
};
return r = {
d: function() {
return t(r.j(), 2)
},
D: function() {
return s.daysShort[r.w()]
},
j: function() {
return a.getDate()
},
l: function() {
return s.days[r.w()]
},
N: function() {
return r.w() || 7
},
w: function() {
return a.getDay()
},
z: function() {
var e = new Date(r.Y(), r.n() - 1, r.j()),
t = new Date(r.Y(), 0, 1);
return Math.round((e - t) / n)
},
W: function() {
var e = new Date(r.Y(), r.n() - 1, r.j() - r.N() + 3),
a = new Date(e.getFullYear(), 0, 4);
return t(1 + Math.round((e - a) / n / 7), 2)
},
F: function() {
return s.months[a.getMonth()]
},
m: function() {
return t(r.n(), 2)
},
M: function() {
return s.monthsShort[a.getMonth()]
},
n: function() {
return a.getMonth() + 1
},
t: function() {
return new Date(r.Y(), r.n(), 0).getDate()
},
L: function() {
var e = r.Y();
return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 ? 1 : 0
},
o: function() {
var e = r.n(),
t = r.W();
return r.Y() + (12 === e && t < 9 ? 1 : 1 === e && t > 9 ? -1 : 0)
},
Y: function() {
return a.getFullYear()
},
y: function() {
return r.Y().toString().slice(-2)
},
a: function() {
return r.A().toLowerCase()
},
A: function() {
var e = r.G() < 12 ? 0 : 1;
return s.meridiem[e]
},
B: function() {
var e = a.getUTCHours() * o,
r = 60 * a.getUTCMinutes(),
n = a.getUTCSeconds();
return t(Math.floor((e + r + n + o) / 86.4) % 1e3, 3)
},
g: function() {
return r.G() % 12 || 12
},
G: function() {
return a.getHours()
},
h: function() {
return t(r.g(), 2)
},
H: function() {
return t(r.G(), 2)
},
i: function() {
return t(a.getMinutes(), 2)
},
s: function() {
return t(a.getSeconds(), 2)
},
u: function() {
return t(1e3 * a.getMilliseconds(), 6)
},
e: function() {
return /\((.*)\)/.exec(String(a))[1] || "Coordinated Universal Time"
},
T: function() {
return (String(a).match(i.tzParts) || [""]).pop().replace(i.tzClip, "") || "UTC"
},
I: function() {
return new Date(r.Y(), 0) - Date.UTC(r.Y(), 0) != new Date(r.Y(), 6) - Date.UTC(r.Y(), 6) ? 1 : 0
},
O: function() {
var e = a.getTimezoneOffset(),
r = Math.abs(e);
return (e > 0 ? "-" : "+") + t(100 * Math.floor(r / 60) + r % 60, 4)
},
P: function() {
var e = r.O();
return e.substr(0, 3) + ":" + e.substr(3, 2)
},
Z: function() {
return 60 * -a.getTimezoneOffset()
},
c: function() {
return "Y-m-d\\TH:i:sP".replace(d, u)
},
r: function() {
return "D, d M Y H:i:s O".replace(d, u)
},
U: function() {
return a.getTime() / 1e3 || 0
}
}, u(e, e)
},
formatDate: function(e, t) {
var a, r, n, o, i, s = "";
if ("string" == typeof e && !1 === (e = this.parseDate(e, t))) return !1;
if (e instanceof Date) {
for (n = t.length, a = 0; a < n; a++) "S" !== (i = t.charAt(a)) && (o = this.parseFormat(i, e), a !== n - 1 && this.intParts.test(i) && "S" === t.charAt(a + 1) && (r = parseInt(o), o += this.dateSettings.ordinal(r)), s += o);
return s
}
return ""
}
}
}(),
function(e) {
"use strict";
var t = {
i18n: {
ar: {
months: ["C'FHF 'D+'FJ", "4('7", ""
0 '1","FJ3'
F ","
E 'JH","-2J1'
F "," * EH2 ","
"(", "#JDHD", "*41JF 'D#HD", "*41JF 'D+'FJ", "C'FHF 'D#HD"
],
dayOfWeekShort: ["F", "+", "9", ".", ",", "3", "-"],
dayOfWeek: ["'D#-/", "'D'+FJF", "'D+D'+'!", "'D#1(9'!", "'D.EJ3", "'D,E9)", "'D3(*", "'D#-/"]
},
ro: {
months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
dayOfWeekShort: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "S�"],
dayOfWeek: ["Duminic", "Luni", "Marci", "Miercuri", "Joi", "Vineri", "S�mbt"]
},
id: {
months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
dayOfWeekShort: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
dayOfWeek: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
},
is: {
months: ["Jan�ar", "Febr�ar", "Mars", "Apr�l", "Ma�", "J�n�", "J�l�", "�g�st", "September", "Okt�ber", "N�vember", "Desember"],
dayOfWeekShort: ["Sun", "M�n", "�ri�", "Mi�", "Fim", "F�s", "Lau"],
dayOfWeek: ["Sunnudagur", "M�nudagur", "�ri�judagur", "Mi�vikudagur", "Fimmtudagur", "F�studagur", "Laugardagur"]
},
bg: {
months: ["/=C0@8", "$52@C0@8", "0@B", "?@8;", "09", ".=8", ".;8", "23CAB", "!5?B5<2@8", ":B><2@8", ">5<2@8", "5:5<2@8"],
dayOfWeekShort: ["4", "=", "B", "!@", "'B", "B", "!1"],
dayOfWeek: ["545;O", ">=545;=8:", "B>@=8:", "!@O40", "'5B2J@BJ:", "5BJ:", "!J1>B0"]
},
fa: {
months: ["A1H1/�F", "'1/�(G4*", ".1/'/", "*�1", "E1/'/", "4G1�H1", "EG1", "" ('F",""01","/�","(GEF","'
3 AF / "],dayOfWeekShort:["Ì©
4 F(G "," / H4F(G ","
3 G 4 F(G ","�
G '14F(G","~F,4F(G",",E9G","4F(G"],dayOfWeek:["̩4F(G","/H4F(G","3G4F(G","�G'
14 F(G ","~F, 4 F(G ",", E9G ","
4 F(G ","Ì©
4 F(G "]},ru:{months:[" /= 20@ L ","
$52@ 0; L ","
0@ B "," ? @5; L ","
09 ","
N = L ","
N; L ","
23 CAB ","!5 = BO1@ L "," : BO1@ L "," > O1@ L ","
5: 01@ L "],dayOfWeekShort:["
A "," = ","
B ","!@","
'B","B","!1"],dayOfWeek:[">A:@5A5=L5",">=545;L=8:","B>@=8:","!@540","'
5 B25@ 3 ","
OB = 8 F0 ","!C11 > B0 "]},uk:{months:["!VG5 = L ","
NB89 ","
5@ 575 = L ","
2 VB5 = L ","
"@025=L", "'5@25=L", "8?5=L", "!5@?5=L", "5@5A5=L", ">2B5=L", "8AB>?04", "@C45=L"], dayOfWeekShort: ["4;", "=4", "B@", "!@4", "'B2", "B=", "!1B"], dayOfWeek: ["54V;O", ">=54V;>:", "V2B>@>:", "!5@540", "'5B25@", "'OB=8FO", "!C1>B0"]
}, en: {
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
dayOfWeekShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
dayOfWeek: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
}, el: {
months: ["����Ŭ����", "�����Ŭ����", "�����", "��������", "�����", "��ͽ���", "��ͻ���", "�ͳ���Ŀ�", "���Ä������", "������", "���������", "����������"],
dayOfWeekShort: ["���", "���", "���", "���", "���", "���", "���"],
dayOfWeek: ["�������", "���Ä��", "���ķ", "��Ĭ�ķ", "����ķ", "����ú�Ů", "�����Ŀ"]
}, de: {
months: ["Januar", "Februar", "M�rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
dayOfWeekShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
dayOfWeek: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
}, nl: {
months: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"],
dayOfWeekShort: ["zo", "ma", "di", "wo", "do", "vr", "za"],
dayOfWeek: ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"]
}, tr: {
months: ["Ocak", "^ubat", "Mart", "Nisan", "May1s", "Haziran", "Temmuz", "Austos", "Eyl�l", "Ekim", "Kas1m", "Aral1k"],
dayOfWeekShort: ["Paz", "Pts", "Sal", "�ar", "Per", "Cum", "Cts"],
dayOfWeek: ["Pazar", "Pazartesi", "Sal1", "�ar_amba", "Per_embe", "Cuma", "Cumartesi"]
}, fr: {
months: ["Janvier", "F�vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao�t", "Septembre", "Octobre", "Novembre", "D�cembre"],
dayOfWeekShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"],
dayOfWeek: ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"]
}, es: {
months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
dayOfWeekShort: ["Dom", "Lun", "Mar", "Mi�", "Jue", "Vie", "S�b"],
dayOfWeek: ["Domingo", "Lunes", "Martes", "Mi�rcoles", "Jueves", "Viernes", "S�bado"]
}, th: {
months: ["!#2!", "8! 21L", "!52!", "@!)2"
","
$) 2!","!4 8 2 "",
"#2!",
"*4+2!",
"1"
2 "",
"8%2!",
"$(42"
","
1 '2!"],dayOfWeekShort:["-2.",".","-.",".","$.","(.","*."],dayOfWeek:["-24"L","1#L","-12#","8","$+1*","(8#L","@*2#L","-24"L"]},pl:{months:["styczeD","luty","marzec","kwiecieD","maj","czerwiec","lipiec","sierpieD","wrzesieD","pazdziernik","listopad","grudzieD"],dayOfWeekShort:["nd","pn","wt","[r","cz","pt","sb"],dayOfWeek:["niedziela","poniedziaBek","wtorek","[roda","czwartek","pitek","sobota"]},pt:{months:["Janeiro","Fevereiro","Mar�o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Ter�a","Quarta","Quinta","Sexta","S�bado"]},ch:{months:["
< !DOCTYPE html >
< html id = "ztb-widget-container" >
< head >
< title > < /title>
< script type = "text/javascript"
src = "//static.zbcdn2.net/__lnfmta/asset/script/jquery.js" > < /script> < script type = "text/javascript"
src = "//static.zbcdn2.net/__lnfmta/asset/script/jquery.scrollbar.js" > < /script> < script type = "text/javascript"
src = "//static.zbcdn2.net/__lnfmta/asset/script/qrcode.js" > < /script> < meta http - equiv = "Content-Security-Policy"
content = "default-src *; media-src *; img-src * 'self' data: blob:; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; style-src * 'self' 'unsafe-inline'; font-src * data: ;" >
< /head> < body >
< div class = "widget-wrapper" >
< script >
var _socialButtonData = [{
"position": "1",
"on": "1",
"name": "facebook",
"label": "Facebook",
"position_field": "facebook_position",
"button_class": "facebook_on_button",
"follow_link": "http://www.facebook.com/contactwmw",
"share_link": "https://www.facebook.com/share.php?u=",
"show": true,
"icon": "icon-009",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://facebook.com/your_fan_page",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Facebook page URL"
}, {
"position": "2",
"on": "1",
"name": "twitter_follow",
"label": "Twitter",
"position_field": "twitter_follow_position",
"button_class": "twitter_follow_on_button",
"follow_link": "https://twitter.com/@WMWuk",
"share_link": "https://twitter.com/intent/tweet?status=",
"show": true,
"icon": "icon-014",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. business",
"text_share": "Tweet",
"popup": true,
"warning_message": "Please configure your Twitter Username"
}, {
"name": "google_plus_one",
"label": "Google +1",
"position_field": "google_plus_one_position",
"position": 3,
"on": 2,
"button_class": "google_plus_one_on_button",
"follow_link": "#",
"share_link": "https://plus.google.com/share?url=",
"show": true,
"icon": "icon-090",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. https://plus.google.com/+android",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your google plus url"
}, {
"position": "4",
"on": "1",
"name": "mail",
"label": "Mail",
"position_field": "mail_position",
"button_class": "mail_on_button",
"follow_link": "mailto:wmwsusie@outlook.com",
"share_link": "mailto:wmwsusie@outlook.com",
"show": true,
"icon": "icon-031",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "Your email address",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your Email Address"
}, {
"position": 4,
"on": "2",
"name": "pinterest",
"label": "Pinterest",
"position_field": "pinterest_position",
"button_class": "pinterest_on_button",
"follow_link": "#",
"share_link": "https://pinterest.com/pin/create/bookmarklet/?url=",
"show": true,
"icon": "icon-007",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "Enter your pinterest Username",
"text_share": "Pin It",
"popup": false,
"warning_message": "Please configure your Pinterest Username"
}, {
"position": "5",
"on": "1",
"name": "linked_in",
"label": "Linked in",
"position_field": "linked_in_position",
"button_class": "linked_in_on_button",
"follow_link": "http://www.linkedin.com/in/susie-gardner-56818029/",
"share_link": "https://www.linkedin.com/shareArticle?mini=true&url=",
"show": true,
"icon": "icon-012",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.linkedin.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your linked in url"
}, {
"position": 5,
"on": "2",
"name": "youtube_channel",
"label": "Youtube channel",
"position_field": "youtube_position",
"button_class": "youtube_channel_on_button",
"follow_link": "#",
"share_link": "#",
"show": false,
"icon": "icon-016",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://youtube.com/channel/example",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your Youtube channel"
}, {
"name": "reddit",
"label": "Reddit",
"position_field": "reddit_position",
"position": 7,
"on": 2,
"button_class": "reddit_on_button",
"follow_link": "#",
"share_link": "https://www.reddit.com/submit?url=",
"show": true,
"icon": "icon-020",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "reddit",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Reddit url"
}, {
"name": "instagram",
"label": "Instagram",
"position_field": "instagram_position",
"position": 8,
"on": 2,
"button_class": "instagram_on_button",
"follow_link": "#",
"share_link": "#",
"show": false,
"icon": "icon-091",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "Enter your instagram username",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your instagram username"
}, {
"name": "blogger",
"label": "Blogger",
"position_field": "blogger_position",
"position": 9,
"on": 2,
"button_class": "blogger_on_button",
"follow_link": "#",
"share_link": "https://www.blogger.com/blog-this.g?u=https://www.workplacemassageandwellbeing.com/&n=Workplace Massage & Wellbeing - Workplace Massage and Wellbeing&t=",
"show": true,
"icon": "icon-008",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.blogspot.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your blog url"
}, {
"position": 10,
"on": "2",
"name": "tumblr",
"label": "Tumblr",
"position_field": "tumblr_position",
"button_class": "tumblr_on_button",
"follow_link": "#",
"share_link": "https://www.tumblr.com/share?v=3&u=https://www.workplacemassageandwellbeing.com/",
"show": true,
"icon": "icon-022",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.tumblr.com",
"text_share": "Tumblr",
"popup": true,
"warning_message": "Please configure your Tumblr url"
}, {
"name": "buffer",
"label": "Buffer",
"position_field": "buffer_position",
"position": 11,
"on": 2,
"button_class": "buffer_on_button",
"follow_link": "",
"share_link": "https://buffer.com/add?count=vertical&placement=button&url=",
"show": true,
"icon": "icon-001",
"slide_on": 0,
"share_on": 1,
"follow_on": 0,
"place_holder": "buffer",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Buffer url"
}, {
"name": "facebook_send",
"label": "Messenger",
"position_field": "facebook_send_position",
"position": 12,
"on": 2,
"button_class": "facebook_send_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-004",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "facebook_send",
"text_share": "Share",
"popup": false,
"warning_message": ""
}, {
"name": "whatapps",
"label": "Whatsapp",
"position_field": "mail_position",
"position": 13,
"on": 2,
"button_class": "whatapps_on_button",
"follow_link": "whatsapp://send?phone=07930698997&text=Workplace%20Massage%20%26%20Wellbeing%20-%20Workplace%20Massage%20and%20Wellbeing%20https%3A%2F%2Fwww.workplacemassageandwellbeing.com%2F",
"share_link": "",
"show": true,
"icon": "icon-024",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "Your phone number",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your phone number"
}, {
"name": "vk",
"label": "VKontakte",
"position_field": "vk_position",
"position": 14,
"on": 2,
"button_class": "vk_on_button",
"follow_link": "#",
"share_link": "https://vk.com/share.php?url=",
"show": true,
"icon": "icon-101",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.vk.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your VKontakte url"
}, {
"name": "ok",
"label": "Odnoklassniki",
"position_field": "ok_position",
"position": 15,
"on": 2,
"button_class": "ok_on_button",
"follow_link": "#",
"share_link": "https://connect.ok.ru/offer?title=Workplace Massage & Wellbeing - Workplace Massage and Wellbeing&url=",
"show": true,
"icon": "icon-099",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.ok.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Odnoklassniki url"
}, {
"name": "weibo",
"label": "Weibo",
"position_field": "weibo_position",
"position": 16,
"on": 2,
"button_class": "weibo_on_button",
"follow_link": "#",
"share_link": "http://service.weibo.com/share/share.php?url=",
"show": true,
"icon": "icon-102",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.weibo.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Weibo url"
}, {
"name": "stumbleupon",
"label": "Stumbleupon",
"position_field": "stumbleupon_position",
"position": 17,
"on": 2,
"button_class": "stumbleupon_on_button",
"follow_link": "#",
"share_link": "https://www.stumbleupon.com/submit?url=",
"show": true,
"icon": "icon-100",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.stumbleupon.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Stumbleupon url"
}, {
"name": "getpocket",
"label": "Getpocket",
"position_field": "getpocket_position",
"position": 18,
"on": 2,
"button_class": "getpocket_on_button",
"follow_link": "#",
"share_link": "https://getpocket.com/save?url=",
"show": true,
"icon": "icon-097",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "E.g. http://example.getpocket.com",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Getpocket url"
}, {
"name": "gmail",
"label": "Gmail",
"position_field": "gmail_position",
"position": 20,
"on": 2,
"button_class": "gmail_on_button",
"follow_link": "mailto:wmwsusie@outlook.com",
"share_link": "https://mail.google.com/mail/u/0/?view=cm&fs=1&to&su=Workplace Massage & Wellbeing - Workplace Massage and Wellbeing&ui=2&tf=1&pli=1&body=",
"show": true,
"icon": "icon-025",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "Your email address",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Email Address"
}, {
"name": "print",
"label": "Print",
"position_field": "print_position",
"position": 21,
"on": 2,
"button_class": "print_on_button",
"follow_link": "javascript:window.print();",
"share_link": "",
"show": true,
"icon": "icon-006",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "print",
"text_share": "Share",
"popup": false,
"warning_message": ""
}, {
"name": "viber",
"label": "Viber",
"position_field": "viber_position",
"position": 22,
"on": 2,
"button_class": "viber_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-104",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "viber",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your Viber phone number"
}, {
"name": "line",
"label": "Line",
"position_field": "line_position",
"position": 23,
"on": 2,
"button_class": "line_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-092",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "line",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your QR code Url"
}, {
"name": "telegram",
"label": "Telegram",
"position_field": "telegram_position",
"position": 24,
"on": 2,
"button_class": "telegram_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-103",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "telegram",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your telegram user name"
}, {
"name": "kakao_talk",
"label": "Kakao Talk",
"position_field": "kakao_talk_position",
"position": 25,
"on": 2,
"button_class": "kakao_talk_on_button",
"follow_link": "",
"share_link": "https://story.kakao.com/s/share?url=https://www.workplacemassageandwellbeing.com/&text=Workplace Massage & Wellbeing - Workplace Massage and Wellbeing",
"show": true,
"icon": "icon-106",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "kakao_talk",
"text_share": "Share",
"popup": true,
"warning_message": ""
}, {
"name": "snapchat",
"label": "Snapchat",
"position_field": "snapchat_position",
"position": 26,
"on": 2,
"button_class": "snapchat_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-107",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "snapchat",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your Snapchat user name"
}, {
"name": "custom_button1",
"label": "Custom",
"position_field": "print_position",
"position": 27,
"on": 2,
"button_class": "custom_button1_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-006",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "custom_button1",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your button"
}, {
"name": "custom_button2",
"label": "Custom",
"position_field": "print_position",
"position": 28,
"on": 2,
"button_class": "custom_button2_on_button",
"follow_link": "",
"share_link": "",
"show": true,
"icon": "icon-006",
"slide_on": 1,
"share_on": 1,
"follow_on": 1,
"place_holder": "custom_button2",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your button"
}, {
"name": "soundcloud",
"label": "Soundcould",
"position_field": "soundcloud_position",
"position": 29,
"on": 2,
"button_class": "soundcloud_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-110",
"slide_on": 1,
"share_on": 0,
"follow_on": 1,
"place_holder": "soundcloud",
"text_share": "Soundcould",
"popup": false,
"warning_message": "Please configure your Soundcloud url"
}, {
"name": "flickr",
"label": "Flickr",
"position_field": "flickr_position",
"position": 30,
"on": 2,
"button_class": "flickr_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-108",
"slide_on": 1,
"share_on": 0,
"follow_on": 1,
"place_holder": "flickr",
"text_share": "Flickr",
"popup": false,
"warning_message": "Please configure your Flickr url"
}, {
"name": "yelp",
"label": "Yelp",
"position_field": "yelp_position",
"position": 31,
"on": 2,
"button_class": "yelp_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-114",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "yelp",
"text_share": "Yelp",
"popup": false,
"warning_message": "Please configure your Yelp url"
}, {
"name": "spotify",
"label": "Spotify",
"position_field": "spotify_position",
"position": 32,
"on": 2,
"button_class": "spotify_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-111",
"slide_on": 1,
"share_on": 0,
"follow_on": 1,
"place_holder": "spotify",
"text_share": "Spotify",
"popup": false,
"warning_message": "Please configure your Spotify url"
}, {
"name": "tripadvisor",
"label": "Tripadvisor",
"position_field": "tripadvisor_position",
"position": 33,
"on": 2,
"button_class": "tripadvisor_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-112",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "tripadvisor",
"text_share": "Tripadvisor",
"popup": false,
"warning_message": "Please configure your Tripadvisor url"
}, {
"name": "houzz",
"label": "Houzz",
"position_field": "houzz_position",
"position": 34,
"on": 2,
"button_class": "houzz_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-122",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "tripadvisor",
"text_share": "Houzz",
"popup": false,
"warning_message": "Please configure your Houzz url"
}, {
"name": "twitch",
"label": "Twitch",
"position_field": "twitch_position",
"position": 35,
"on": 2,
"button_class": "twitch_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-113",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "twitch",
"text_share": "Twitch",
"popup": false,
"warning_message": "Please configure your Twitch url"
}, {
"name": "flipboard",
"label": "Flipboard",
"position_field": "flipboard_position",
"position": 36,
"on": 2,
"button_class": "flipboard_on_button",
"follow_link": "#",
"share_link": "https://share.flipboard.com/bookmarklet/popout?v=2&title=Workplace Massage and Wellbeing&utm_campaign=tools&utm_medium=web&url=",
"show": true,
"icon": "icon-119",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "flipboard",
"text_share": "Flip",
"popup": true,
"warning_message": "Please configure your Flipboard url"
}, {
"name": "medium",
"label": "Medium",
"position_field": "medium_position",
"position": 37,
"on": 2,
"button_class": "medium_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-123",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "medium",
"text_share": "Medium",
"popup": false,
"warning_message": "Please configure your Medium url"
}, {
"name": "yummly",
"label": "Yummly",
"position_field": "yummly_position",
"position": 38,
"on": 2,
"button_class": "yummly_on_button",
"follow_link": "#",
"share_link": "https://www.yummly.com/urb/verify?title=Workplace Massage and Wellbeing&image=https://www.workplacemassageandwellbeing.com/uploads/1/2/0/0/120057015/screenshot-20221006-103358_orig.jpg&urbtype=widget&url=",
"show": true,
"icon": "icon-128",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "yummly",
"text_share": "Yum",
"popup": true,
"warning_message": "Please configure your Yummly url"
}, {
"name": "deviantart",
"label": "Deviantart",
"position_field": "deviantart_position",
"position": 39,
"on": 2,
"button_class": "deviantart_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-116",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "deviantart",
"text_share": "Deviantart",
"popup": false,
"warning_message": "Please configure your Deviantart url"
}, {
"name": "github",
"label": "Github",
"position_field": "github_position",
"position": 40,
"on": 2,
"button_class": "github_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-120",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "github",
"text_share": "Github",
"popup": false,
"warning_message": "Please configure your Github url"
}, {
"name": "goodreads",
"label": "Goodreads",
"position_field": "goodreads_position",
"position": 41,
"on": 2,
"button_class": "goodreads_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-121",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "goodreads",
"text_share": "Goodreads",
"popup": false,
"warning_message": "Please configure your Goodreads url"
}, {
"name": "discord",
"label": "Discord",
"position_field": "discord_position",
"position": 42,
"on": 2,
"button_class": "discord_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-117",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "discord",
"text_share": "Discord",
"popup": false,
"warning_message": "Please configure your Discord url"
}, {
"name": "patreon",
"label": "Patreon",
"position_field": "patreon_position",
"position": 43,
"on": 2,
"button_class": "patreon_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-124",
"slide_on": 0,
"share_on": 0,
"follow_on": 1,
"place_holder": "patreon",
"text_share": "Patreon",
"popup": false,
"warning_message": "Please configure your Patreon url"
}, {
"name": "wordpress",
"label": "Wordpress",
"position_field": "wordpress_position",
"position": 44,
"on": 2,
"button_class": "wordpress_on_button",
"follow_link": "#",
"share_link": "",
"show": true,
"icon": "icon-131",
"slide_on": 0,
"share_on": 1,
"follow_on": 1,
"place_holder": "wordpress",
"text_share": "Share",
"popup": false,
"warning_message": "Please configure your Wordpress url"
}, {
"name": "telegram_share",
"label": "Telegram",
"position_field": "telegram_share_position",
"position": 45,
"on": 2,
"button_class": "telegram_share_on_button",
"follow_link": "#",
"share_link": "https://telegram.me/share/url?text=Workplace Massage and Wellbeing&url=",
"show": true,
"icon": "icon-103",
"slide_on": 0,
"share_on": 1,
"follow_on": 0,
"place_holder": "Telegram",
"text_share": "Share",
"popup": true,
"warning_message": "Please configure your Telegram url"
}]; < /script>
< a
target = "facebook"
href = "http://www.facebook.com/contactwmw"
class = "social_follow_box" >
< div social - name = "facebook"
class = "facebook_on_button flatcircle spb-social-icon " >
< div class = "icon-009 glyph" > < /div>
< /div> < /a>
< a
target = "twitter_follow"
href = "https://twitter.com/@WMWuk"
class = "social_follow_box" >
< div social - name = "twitter_follow"
class = "twitter_follow_on_button flatcircle spb-social-icon " >
< div class = "icon-014 glyph" > < /div>
< /div> < /a>
< a
href = "mailto:wmwsusie@outlook.com"
class = "social_follow_box" >
< div social - name = "mail"
class = "mail_on_button flatcircle spb-social-icon " >
< div class = "icon-031 glyph" > < /div>
< /div> < /a>
< a
target = "linked_in"
href = "http://www.linkedin.com/in/susie-gardner-56818029/"
class = "social_follow_box" >
< div social - name = "linked_in"
class = "linked_in_on_button flatcircle spb-social-icon " >
< div class = "icon-012 glyph" > < /div>
< /div> < /a>
<!-- Zotabox logo -->
< div class = "zotabox-logo-wrapper" >
< a class = "social_share_box zotabox_logo_on_button"
href = "https://info.zotabox.com/?utm_source=workplacemassageandwellbeing.com&utm_medium=Social%20Buttons&utm_campaign=widget%20referral"
target = "zotabox_logo"
title = "Powered by Zotabox"
style = "display: block;" >
< div class = "zotabox_logo_on_button flatcircle spb-social-icon" >
< div class = "icon-zotabox_logo glyph" > < /div>
< /div> < /a>
< /div>
< /div> < div id = "fb-root" > < /div> < script type = "text/javascript" >
var SocialButton = function() {
this.initialize();
};
SocialButton.prototype = {
isOpenning: false,
isClosing: false,
isOpened: false,
iframeHeight: 0,
openBox: false,
onHover: false,
isOpen: false,
isClose: false,
oldIframeStyle: null,
isOpenQrPopup: false,
isOpenMoreButton: false,
openQrPopupTimeout: false,
isUpdateShareCount: false,
initialize: function() {
var _super = this;
jQuery(document).ready(function() {
setTimeout(function() {
_super.sortSocialTab();
_super.hoverSocialTab();
_super.getCountBox();
_super.hoverMoreButton();
_super.setButtonPosition();
_super.addZotaboxLogo();
_super.showQrPopup();
_super.initEvent();
_super.createQrCode();
}, 100);
Zotabox.addEvent('resize', parent.window, function(e) {
_super.setButtonPosition();
});
});
},
initEvent: function() {
var _super = this;
// (function(d, s, id) {
// var js, fjs = d.getElementsByTagName(s)[0];
// if (d.getElementById(id)) return;
// js = d.createElement(s); js.id = id;
// js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";
// fjs.parentNode.insertBefore(js, fjs);
// }(document, 'script', 'facebook-jssdk'));
// var countInterval = 0;
// var interval = setInterval(function(){
// if(typeof FB != 'undefined'){
// clearInterval(interval);
// FB.init({
// appId: '1393713610935285',
// xfbml: true,
// version: 'v2.8'
// });
// }
// if(countInterval >= 20){
// clearInterval(interval);
// }
// countInterval++;
// },500);
//open print
jQuery(".print_on_button").on('click', function(e) {
e.preventDefault();
parent.window.print();
});
//mail
if (!_.isEmpty('wmwsusie@outlook.com')) {
jQuery(".mail_on_button").parent("a").attr("target", "_parent");
jQuery(".mail_on_button").parent("a").attr("href", "mailto:wmwsusie@outlook.com");
}
//gmail follow
var follow = 1;
if (parseInt('1') == follow) {
var popupGmail = 'window.open("https://mail.google.com/mail/u/0/?view=cm&fs=1&to=wmwsusie@outlook.com&su=' + ZBLib.escapeHtml(encodeURIComponent(window.parent.document.title)) + '&body=' + encodeURIComponent(ZBLib.getShareURL()) + '&ui=2&tf=1&pli=1", "", "width=530, height=450, left=200, top=200, fullscreen=no ")';
jQuery(".gmail_on_button").parent("a").attr("onclick", popupGmail);
jQuery(".gmail_on_button").parent("a").attr("href", '#');
jQuery(".gmail_on_button").parent("a").attr("target", '');
}
//add click event and show warning message
jQuery(".spb-social-icon").click(function(e) {
var socialName = jQuery(this).attr('social-name');
if (!_.isEmpty(jQuery(this).parent("a").attr('data-warning-message')) && (jQuery(this).parent("a").attr('href') == '#' || _.isEmpty(jQuery(this).parent("a").attr('href')))) {
if (_super.checkShowWarningMessage(socialName) == true) {
alert(jQuery(this).parent("a").attr('data-warning-message'));
}
}
if (1) {
}
Stats.sendEvents2('CT', '7t0OWyKw', 924271);
});
//link custom button
if (typeof BUTTON_DATA.custom_button1 != 'undefined') {
jQuery(".custom_button1_on_button").parents("a").removeAttr('onclick');
jQuery(".custom_button1_on_button").parents("a").attr('href', BUTTON_DATA.custom_button1.social_value);
jQuery(".custom_button1_on_button").parents("a").attr('target', ZBLib.checkTarget(BUTTON_DATA.custom_button1.social_value));
}
if (typeof BUTTON_DATA.custom_button2 != 'undefined') {
jQuery(".custom_button2_on_button").parents("a").removeAttr('onclick');
jQuery(".custom_button2_on_button").parents("a").attr('href', BUTTON_DATA.custom_button2.social_value);
jQuery(".custom_button2_on_button").parents("a").attr('target', ZBLib.checkTarget(BUTTON_DATA.custom_button2.social_value));
}
//share pinterest
jQuery(".social_share_box .pinterest_on_button").click(function() {
Zotabox.getWidgetById(924271).openPinImageDialog();
});
if ('1' == 2) {
jQuery(".social_share_box .wordpress_on_button").click(function() {
Zotabox.getWidgetById(924271).wpPopupOpen();
});
}
//close qr popup
Zotabox.Core.jQuery('[data-zbwid="' + DATA.client_hash_id + '"] .close-share-popup').click(function(e) {
Zotabox.Core.jQuery('[data-zbwid="' + DATA.client_hash_id + '"] .share-popup-wrapper').hide();
_super.closeQrPopup();
});
this.oldIframeStyle = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").attr('style');
},
addZotaboxLogo: function() {
var logoHtml = jQuery(".zotabox-logo-wrapper").html();
if (jQuery(".share_more_button").length != 0) {
//co more
// jQuery(".share-more-wrapper").prepend(logoHtml);
jQuery(".zotabox-logo-wrapper").html('');
jQuery('.zotabox_logo_on_button').attr("style", jQuery('.zotabox_logo_on_button').attr('style') + 'display: block !important');
}
//nma ngang ben phai, khong co more
if ('right' == 'right' && jQuery(".share_more_button").length == 0 && parseInt('0') == 1) {
jQuery('.zotabox_logo_on_button').remove();
}
},
showQrPopup: function() {
var _super = this;
// if(parseInt(DATA.tab_type) != 3){
jQuery(".spb-social-icon").on("click mousemove", function(e) {
var socialBtn = jQuery(e.currentTarget),
socialName = socialBtn.attr('social-name'),
qrPopupWidth = 210,
maxPopupHeight = 240,
iframeElm = Zotabox.Core.jQuery('#ztb-sb-' + DATA.client_hash_id + '-widget'),
warningMessage = socialBtn.parent("a").attr('data-warning-message'),
oldButtonStyle = socialBtn.get(0).style.left;
if (_super.checkShowWarningMessage(socialName) == false) {
_super.openSharePopup(e, Zotabox.Core.jQuery('[data-zbwid="' + DATA.client_hash_id + '"] .' + socialName + '-popup-wrapper'));
} else {
_super.closeQrPopup();
}
});
//hover QR popup => ko close popup
Zotabox.Core.jQuery(".share-popup-wrapper").on("mousemove", function() {
clearTimeout(_super.openQrPopupTimeout);
});
//close qr popup
Zotabox.Core.jQuery(".share-popup-wrapper").on("mouseleave", function() {
if (_super.isOpenQrPopup == true) {
_super.closeQrPopup();
_super.closeMoreSocial();
}
});
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").on("mouseleave", function() {
if (_super.isOpenQrPopup == false) {
_super.closeMoreSocial();
}
});
// }
},
openSharePopup: function(e, elm) {
var _super = this,
button = Zotabox.Core.jQuery(e.currentTarget),
buttonPosition = button.position(),
widnowScrollTop = Zotabox.Core.jQuery(window).scrollTop(),
sharePopup = elm,
iframeElm = Zotabox.Core.jQuery('#ztb-sb-' + DATA.client_hash_id + '-widget'),
iframeElmTop = iframeElm.position().top,
iframeElmLeft = iframeElm.position().left,
isShow = false,
popupMargin = 10,
sharePopupWrapper = Zotabox.Core.jQuery('[data-zbwid="' + DATA.client_hash_id + '"] .share-popup-wrapper');
if (elm.length == 0 && this.isOpenMoreButton == false) {
//ko co QR popup va khong open more button
sharePopupWrapper.hide();
this.closeQrPopup();
return false;
}
if (elm.length == 0 && this.isOpenMoreButton == true) {
//hover button ko co QR code va dang open more button -> dong QR popup sau 500ms
clearTimeout(this.openQrPopupTimeout);
this.openQrPopupTimeout = setTimeout(function() {
_super.closeQrPopup();
return false;
}, 300);
}
if (sharePopup.css('display') == 'block' && e.type == 'click') {
sharePopup.hide();
this.closeQrPopup();
} else if (elm.length != 0) {
clearTimeout(this.openQrPopupTimeout);
this.isOpenQrPopup = true;
isShow = true;
sharePopupWrapper.hide();
//left
if (DATA.placement == 'left') {
//left
if (parseInt(DATA.direction) == 0) {
var topPopup = (button.offset().top - (sharePopup.height() - 70)) + iframeElmTop,
leftPopup = iframeElm.width() - 305;
topPopup = topPopup < 0 || topPopup < iframeElmTop ? iframeElmTop : topPopup;
sharePopup.css({
"display": 'block',
"top": (topPopup > 0 ? topPopup : 0) + "px",
"left": (leftPopup + popupMargin) + "px"
});
} else {
var leftPopup = button.offset().left - 70;
leftPopup = leftPopup < 0 ? 0 : leftPopup;
if (DATA.offsetTop > 50) {
//popup nam phia tren
var bottomPopup = (Zotabox.Core.jQuery(parent.window).height() - iframeElmTop) + popupMargin,
leftPopup = iframeElmLeft + button.offset().left - 80; //80 = 50% width share popup
leftPopup = leftPopup < iframeElmLeft ? iframeElmLeft : leftPopup;
if (leftPopup > (iframeElmLeft + iframeElm.outerWidth() - 200)) { //200: width share popup
sharePopup.css({
"display": 'block',
"bottom": bottomPopup + "px",
"left": leftPopup + "px",
"top": "auto"
});
} else {
sharePopup.css({
"display": 'block',
"top": "auto",
"bottom": bottomPopup + "px",
"left": leftPopup + "px"
});
}
} else {
//popup nam phia duoi
var topPopup = iframeElm.height() + popupMargin + iframeElmTop,
leftPopup = iframeElmLeft + button.offset().left - 80; //80 = 50% width share popup
leftPopup = leftPopup < iframeElmLeft ? iframeElmLeft : leftPopup;
if (leftPopup > (iframeElmLeft + iframeElm.outerWidth() - 200)) { //200: width share popup
sharePopup.css({
"display": 'block',
"top": topPopup + "px",
"left": (iframeElmLeft + iframeElm.outerWidth() - 200) + "px",
"right": "auto"
});
} else {
sharePopup.css({
"display": 'block',
"top": topPopup + "px",
"left": leftPopup + "px"
});
}
}
}
} else {
//right
if (parseInt(DATA.direction) == 0) {
//nam doc
var topPopup = (button.offset().top - (sharePopup.height() - 70)) + iframeElmTop,
rightPopup = iframeElm.width() - 305;
topPopup = topPopup < 0 || topPopup < iframeElmTop ? iframeElmTop : topPopup;
sharePopup.css({
"display": 'block',
"top": (topPopup > 0 ? topPopup : 0) + "px",
"right": (rightPopup + popupMargin) + "px",
"left": "auto"
});
} else {
var leftPopup = button.offset().left - 70;
leftPopup = leftPopup < 0 ? 0 : leftPopup;
if (DATA.offsetTop > 50) {
//popup nam phia tren
var bottomPopup = (Zotabox.Core.jQuery(parent.window).height() - iframeElmTop) + popupMargin,
leftPopup = iframeElmLeft + button.offset().left - 80; //80 = 50% width share popup
leftPopup = leftPopup < iframeElmLeft ? iframeElmLeft : leftPopup;
if (leftPopup > (iframeElmLeft + iframeElm.outerWidth() - 200)) { //200: width share popup
sharePopup.css({
"display": 'block',
"bottom": bottomPopup + "px",
"left": "auto",
"right": "0",
"top": "auto"
});
} else {
sharePopup.css({
"display": 'block',
"top": "auto",
"bottom": bottomPopup + "px",
"left": leftPopup + "px"
});
}
} else {
//popup nam phia duoi
var topPopup = iframeElm.height() + popupMargin + iframeElmTop,
leftPopup = iframeElmLeft + button.offset().left - 80; //80 = 50% width share popup
leftPopup = leftPopup < iframeElmLeft ? iframeElmLeft : leftPopup;
if (leftPopup > (iframeElmLeft + iframeElm.outerWidth() - 200)) { //200: width share popup
sharePopup.css({
"display": 'block',
"top": topPopup + "px",
"left": "auto",
"right": "0"
});
} else {
sharePopup.css({
"display": 'block',
"top": topPopup + "px",
"left": leftPopup + "px"
});
}
}
}
}
}
return isShow;
},
closeQrPopup: function() {
this.isOpenQrPopup = false;
var iframeElm = Zotabox.Core.jQuery('#ztb-sb-' + DATA.client_hash_id + '-widget'),
qrPopupWidth = 210;
Zotabox.Core.jQuery(".share-popup-wrapper").hide();
},
createQrCode: function() {
//whatsapp
if (DATA.BUTTON_DATA.whatapps.on == 1 && !_.isEmpty(DATA.button_config.phone_number)) {
var qrcode = new QRCode(parent.document.querySelector('[data-zbwid="' + DATA.client_hash_id + '"] #whatapps-qrcode'), {
width: 128,
height: 128
});
qrcode.makeCode('whatsapp://send?phone=' + DATA.button_config.phone_number);
}
//viber
if (DATA.BUTTON_DATA.viber.on == 1 && !_.isEmpty(DATA.button_config.viber_phone_number)) {
var viberQrcode = new QRCode(parent.document.querySelector('[data-zbwid="' + DATA.client_hash_id + '"] #viber-qrcode'), {
width: 128,
height: 128
});
var viberNumber = DATA.button_config.viber_phone_number.replace("+", "");
viberQrcode.makeCode('viber://add?number=' + viberNumber);
}
//line
if (DATA.BUTTON_DATA.line.on == 1 && !_.isEmpty(DATA.button_config.line_url)) {
var lineQrcode = new QRCode(parent.document.querySelector('[data-zbwid="' + DATA.client_hash_id + '"] #line-qrcode'), {
width: 128,
height: 128
});
lineQrcode.makeCode(DATA.button_config.line_url);
}
//telegram
if (DATA.BUTTON_DATA.telegram.on == 1 && !_.isEmpty(DATA.button_config.telegram_user_name)) {
var telegramQrcode = new QRCode(parent.document.querySelector('[data-zbwid="' + DATA.client_hash_id + '"] #telegram-qrcode'), {
width: 128,
height: 128
});
telegramQrcode.makeCode('https://telegram.me/' + DATA.button_config.telegram_user_name);
}
//Facebook Msg
if (DATA.BUTTON_DATA.facebook_send.on == 1 && !_.isEmpty(DATA.button_config.facebook_fanpage)) {
var facebookSendQrcode = new QRCode(parent.document.querySelector('[data-zbwid="' + DATA.client_hash_id + '"] #facebook-send-qrcode'), {
width: 128,
height: 128
});
var linkFanpage = DATA.button_config.facebook_fanpage;
if (linkFanpage == '' || _.isEmpty(linkFanpage)) {
linkFanpage = 'https://www.facebook.com/zotaboxmarketingtools/';
}
linkFanpage = linkFanpage.replace("www.", "");
linkFanpage = linkFanpage.replace("facebook.com", "m.me");
facebookSendQrcode.makeCode(linkFanpage);
}
},
checkShowWarningMessage: function(socialName) {
var result = false;
switch (socialName) {
case "viber":
result = _.isEmpty(DATA.button_config.viber_phone_number) ? true : false;
break;
case "line":
result = _.isEmpty(DATA.button_config.line_url) ? true : false;
break;
case "telegram":
result = _.isEmpty(DATA.button_config.telegram_user_name) ? true : false;
break;
case "snapchat":
result = _.isEmpty(DATA.button_config.snapchat_user_name) ? true : false;
break;
case "facebook_send":
result = _.isEmpty(DATA.button_config.facebook_fanpage) ? true : false;
break;
case "whatapps":
result = _.isEmpty(DATA.button_config.phone_number) ? true : false;
break;
default:
result = true;
}
return result;
},
setButtonPosition: function(noRun) {
var offsetTop = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").position().top,
windowHeight = jQuery(parent.window).height(),
widgetHeight = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").height();
if ('1' == 3 && typeof noRun != 'undefined') {
widgetHeight = 360;
}
if ((windowHeight - offsetTop) < widgetHeight) {
if (typeof noRun == 'undefined') {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"top": "auto",
"bottom": 0
});
} else {
return true;
}
} else {
if (typeof noRun == 'undefined') {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
'top': '',
'bottom': ''
});
} else {
return false;
}
}
},
hoverMoreButton: function() {
var _super = this,
rightSpace = 0;
if ('flatcircle' == 'flatcircle-new') {
rightSpace = 1;
}
//space between 2 icons
if ('flatcircle' != "flatsquare") {
var _space = 5;
} else {
var _space = 0;
}
//Custom color and style flatsquare
if ('flatcircle' == "flatsquare" && parseInt('0') == 1) {
_space = 1;
}
var socialWidth = parseInt('48');
switch ('flatcircle') {
case 'flatneck':
socialWidth = socialWidth * 2;
break;
case 'rounded-floatrectangle':
socialWidth = socialWidth * 2;
break;
case 'split-roundedrectangle':
if (parseInt('0') == 0) {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
socialWidth = 85;
break;
case 32:
socialWidth = 105;
break;
case 48:
socialWidth = 160;
break;
case 64:
socialWidth = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
socialWidth = 65;
break;
case 32:
socialWidth = 80;
break;
case 48:
socialWidth = 130;
break;
case 64:
socialWidth = 170;
break;
}
}
} else {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
socialWidth = 85;
break;
case 32:
socialWidth = 105;
break;
case 48:
socialWidth = 160;
break;
case 64:
socialWidth = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
socialWidth = 65;
break;
case 32:
socialWidth = 80;
break;
case 48:
socialWidth = 165;
break;
case 64:
socialWidth = 265;
break;
}
}
}
break;
}
var iframe = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget"),
socialIcon = jQuery(".spb-social-icon");
//Open more social
var openShareMoreTimeout = null;
jQuery(".share_more_button ").mousemove(function() {
if (_super.isOpenQrPopup) {
return false;
}
openShareMoreTimeout = setTimeout(function() {
_super.isOpenMoreButton = true;
if (Zotabox.Core.jQuery(".more-social").length == 0) {
var moreColum = 1,
startNumber = 6,
moreRowCount = 0;
if ('0' == 1) {
startNumber = 0;
}
moreRowCount = Math.round(jQuery(".share-more-wrapper .spb-social-icon").length / 6);
moreRowCount = moreRowCount == 0 && jQuery(".share-more-wrapper .spb-social-icon").length != 0 ? 1 : moreRowCount;
moreRowWidth = moreRowCount * (socialWidth + _space);
// jQuery(".share-more-wrapper").css('width',moreRowWidth+"px");
iframe.addClass("more-social");
switch ('right') {
case 'left':
socialIcon.css('right', (socialWidth + _space + rightSpace) + 'px');
jQuery(".total_number_class").css('right', (socialWidth + _space) + 'px');
if ('flatcircle' == 'flatneck') {
jQuery(".total_number_class").css('right', (socialWidth + _space + ('48' * 2 - '48' * 1.5)) + 'px');
}
jQuery(".share-more-wrapper").css({
'display': 'block',
'position': 'fixed',
'right': rightSpace + 'px'
});
if ('0' == 1) {
startNumber = 0;
//Set iframe height
jQuery(".share-more-wrapper .spb-social-icon").css("right", 0);
iframe.css("height", (iframe.height() + moreRowWidth) + "px");
//Top position > 90%
if ('30.0000' > 90) {
iframe.css("top", 'calc(' + '30.0000' + '% - ' + moreRowWidth + 'px)');
socialIcon.css({
"bottom": "0",
"top": "auto",
});
jQuery(".total_number_class").css({
"bottom": "0",
"top": "auto",
});
}
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
moreColum = 1;
// if(index > 6){
// moreColum = 2;
// }
// if(index > 17){
// moreColum = 3;
// }
moreColum = Math.ceil((index + 1) / 7);
var socialHeight = jQuery(value).height();
if ('flatcircle' == 'rounded-floatrectangle') {
socialHeight = socialHeight - 2;
}
var topIcon = (socialHeight + _space) * moreColum;
rightIcon = (startNumber * (socialWidth + _space)) + _space;
if ('30.0000' > 90) {
jQuery(value).css({
"bottom": topIcon + "px",
"right": rightIcon + "px",
"left": "auto",
});
} else {
jQuery(value).css({
"top": topIcon + "px",
"right": rightIcon + "px",
"left": "auto",
});
}
startNumber++;
if (startNumber > 6) {
startNumber = 0;
}
});
} else {
jQuery(".share-more-wrapper .spb-social-icon").css("right", 0);
jQuery(".spb-social-icon").css("right", moreRowWidth + "px");
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
moreColum = 1
// if(index > 6){
// moreColum = 2;
// }
// if(index > 17){
// moreColum = 3;
// }
moreColum = Math.ceil((index + 1) / 7);
var socialHeight = jQuery(value).outerHeight();
if ('flatcircle' == 'rounded-floatrectangle') {
socialHeight = socialHeight - 2;
}
var topIcon = (socialHeight + _space) * startNumber;
rightIcon = moreRowWidth - (moreColum * (socialWidth + _space));
if ('0' == 1 && '1' == 2) {
jQuery(".total_number_class").css({
"right": moreRowWidth + "px",
"top": "0",
});
}
jQuery(value).css({
"top": topIcon + "px",
"right": rightIcon + "px",
});
var topStyle = 'top: ' + topIcon + "px !important";
jQuery(value).attr("style", jQuery(value).attr('style') + topStyle);
startNumber--;
if (startNumber < 0) {
startNumber = 6;
}
});
if ('flatcircle' == 'flatcircle-new') {
//border 1
iframe.css({
"width": (iframe.width() + moreRowWidth - 1) + "px",
"max-width": (iframe.width() + moreRowWidth - 1) + "px"
});
} else {
iframe.css({
"width": (iframe.width() + moreRowWidth) + "px",
"max-width": (iframe.width() + moreRowWidth) + "px"
});
}
}
break;
case 'right':
jQuery(".share-more-wrapper").css({
'display': 'block',
'position': 'fixed',
'right': '0'
});
if ('0' == 1) {
startNumber = 0;
//Set iframe height
iframe.css("height", (iframe.height() + moreRowWidth) + "px");
if ('30.0000' > 90) {
iframe.css("top", 'calc(' + '30.0000' + '% - ' + moreRowWidth + 'px)');
socialIcon.css({
"bottom": "0",
"top": "auto",
});
jQuery(".total_number_class").css({
"bottom": "0",
"top": "auto",
});
}
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
moreColum = 1
// if(index > 6){
// moreColum = 2;
// }
// if(index > 17){
// moreColum = 3;
// }
moreColum = Math.ceil((index + 1) / 7);
var socialHeight = jQuery(value).height();
if ('flatcircle' == 'rounded-floatrectangle') {
socialHeight = socialHeight - 2;
}
var topIcon = (socialHeight + _space) * moreColum;
rightIcon = (startNumber * (socialWidth + _space)) + _space;
//Top position > 90%
if ('30.0000' > 90) {
jQuery(value).css({
"bottom": topIcon + "px",
"right": rightIcon + "px",
"left": "auto",
});
} else {
jQuery(value).css({
"top": topIcon + "px",
"right": rightIcon + "px",
"left": "auto",
});
}
startNumber++;
if (startNumber > 6) {
startNumber = 0;
}
});
} else {
jQuery(".spb-social-icon").css("left", moreRowWidth + "px");
jQuery(".share-more-wrapper .spb-social-icon").css("right", 0);
// socialIcon.css('left',(socialWidth + _space + rightSpace )+'px');
jQuery(".total_number_class").css('left', (socialWidth + _space) + 'px');
jQuery(".share-more-wrapper .spb-social-icon").css("left", 0);
if ('flatcircle' == 'flatneck') {
jQuery(".total_number_class").css('left', (socialWidth + _space + ('48' * 2 - '48' * 1.5)) + 'px');
}
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
moreColum = 1
// if(index > 6){
// moreColum = 2;
// }
// if(index > 17){
// moreColum = 3;
// }
moreColum = Math.ceil((index + 1) / 7);
var socialHeight = jQuery(value).outerHeight();
if ('flatcircle' == 'rounded-floatrectangle') {
socialHeight = socialHeight - 2;
}
var topIcon = (socialHeight + _space) * startNumber;
var rightIcon = moreRowWidth - (moreColum * (socialWidth + _space));
if ('0' == 1 && '1' == 2) {
jQuery(".total_number_class").css({
"left": moreRowWidth + "px",
"top": "0",
});
}
jQuery(value).css({
"top": topIcon + "px",
"left": rightIcon + "px",
});
var topStyle = 'top: ' + topIcon + "px !important";
jQuery(value).attr("style", jQuery(value).attr('style') + topStyle);
startNumber--;
if (startNumber < 0) {
startNumber = 6;
}
});
if ('flatcircle' == 'flatcircle-new') {
iframe.css({
"width": (iframe.width() + moreRowWidth - 1) + "px",
"max-width": (iframe.width() + moreRowWidth - 1) + "px"
});
} else {
iframe.css({
"width": (iframe.width() + moreRowWidth) + "px",
"max-width": (iframe.width() + moreRowWidth) + "px"
});
}
}
break;
}
jQuery.each(jQuery(".spb-social-icon"), function(key, value) {
jQuery(value).attr("old-right", jQuery(value).get(0).style.right);
jQuery(value).attr("old-left", jQuery(value).get(0).style.left);
});
}
}, 200);
}).mouseleave(function() {
if (_super.isOpenQrPopup) {
return false;
}
clearTimeout(openShareMoreTimeout);
});
//Close social more
var shareMoreTimeout = null;
jQuery('.share_more_button, .share-more-wrapper').mouseleave(function() {
shareMoreTimeout = setTimeout(function() {
if (_super.isOpenQrPopup) {
return false;
}
_super.closeMoreSocial();
}, 300);
});
Zotabox.Core.jQuery("*").on("click", function() {
_super.closeMoreSocial();
});
jQuery('.share_more_button, .share-more-wrapper .spb-social-icon').mouseenter(function() {
clearTimeout(shareMoreTimeout);
});
},
closeMoreSocial: function() {
var _super = this,
rightSpace = 0;
if (this.isOpenQrPopup) {
return false;
}
if ('flatcircle' == 'flatcircle-new') {
rightSpace = 1;
}
//space between 2 icons
if ('flatcircle' != "flatsquare") {
var _space = 5;
} else {
var _space = 0;
}
//Custom color and style flatsquare
if ('flatcircle' == "flatsquare" && parseInt('0') == 1) {
_space = 1;
}
var socialWidth = jQuery(".share-more-wrapper .spb-social-icon").outerWidth();
moreRowCount = Math.ceil(jQuery(".share-more-wrapper .spb-social-icon").length / 6);
moreRowWidth = moreRowCount * (socialWidth + _space);
switch ('flatcircle') {
case 'flatneck':
socialWidth = socialWidth * 2;
break;
case 'rounded-floatrectangle':
socialWidth = socialWidth * 2;
break;
case 'split-roundedrectangle':
if (parseInt('0') == 0) {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
socialWidth = 85;
break;
case 32:
socialWidth = 105;
break;
case 48:
socialWidth = 160;
break;
case 64:
socialWidth = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
socialWidth = 65;
break;
case 32:
socialWidth = 80;
break;
case 48:
socialWidth = 130;
break;
case 64:
socialWidth = 170;
break;
}
}
} else {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
socialWidth = 85;
break;
case 32:
socialWidth = 105;
break;
case 48:
socialWidth = 160;
break;
case 64:
socialWidth = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
socialWidth = 65;
break;
case 32:
socialWidth = 80;
break;
case 48:
socialWidth = 165;
break;
case 64:
socialWidth = 265;
break;
}
}
}
break;
}
var iframe = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget"),
socialIcon = jQuery(".spb-social-icon");
if (Zotabox.Core.jQuery('#ztb-sb-' + DATA.client_hash_id + '-widget.more-social').length != 0 && jQuery(".share-more-wrapper").get(0).style.display == 'block') {
_super.isOpenMoreButton = false;
jQuery(".share-more-wrapper").hide();
iframe.removeClass("more-social");
jQuery(".total_number_class").removeAttr("style");
jQuery(".total_number_class").show();
switch ('right') {
case 'left':
socialIcon.css("right", rightSpace + 'px');
//direction
if ('0' == 1) {
//Update iframe height
iframe.css({
"height": (socialIcon.outerHeight() + _space) + "px",
"top": "calc(30.0000% + " + _space + "px)"
});
jQuery(".spb-social-icon").css("top", "0px");
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
var left = parseInt(jQuery(value).css("left").replace("px", ""));
if ("0" > 2) {
jQuery(value).css("left", (left + (socialIcon.outerWidth() + _space) * 2) + "px");
} else {
jQuery(value).css("left", (left + (socialIcon.outerWidth() + _space)) + "px");
}
});
} else {
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
var top = parseInt(jQuery(value).css("top").replace("px", ""));
if ("0" > 2) {
jQuery(value).css("top", (top + (socialIcon.outerWidth() + _space) * 2) + "px");
} else {
jQuery(value).css("top", (top + (socialIcon.outerWidth() + _space)) + "px");
}
});
if ('flatcircle' == 'flatcircle-new') {
iframe.css("width", ((iframe.width() - moreRowWidth) + 1) + "px");
} else {
iframe.css("width", (iframe.width() - moreRowWidth) + "px");
}
iframe.attr('style', _super.oldIframeStyle);
}
break;
case 'right':
//direction
if ('0' == 1) {
//Update iframe height
iframe.css({
"height": (socialIcon.outerHeight() + _space) + "px",
"top": "calc(30.0000% + " + _space + "px)"
});
socialIcon.css("top", "0px");
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
var right = parseInt(jQuery(value).css("left").replace("px", ""));
if ("0" > 2) {
jQuery(value).css("left", (right + (socialIcon.outerWidth() + _space) * 2) + "px");
} else {
jQuery(value).css("left", (right + (socialIcon.outerWidth() + _space)) + "px");
}
});
} else {
socialIcon.css("left", rightSpace + 'px');
jQuery.each(jQuery(".share-more-wrapper .spb-social-icon"), function(index, value) {
var top = parseInt(jQuery(value).css("top").replace("px", ""));
if ("0" > 2) {
jQuery(value).css("top", (top + (socialIcon.outerHeight() + _space) * 2) + "px");
} else {
jQuery(value).css("top", (top + (socialIcon.outerHeight() + _space)) + "px");
}
});
if ('flatcircle' == 'flatcircle-new') {
iframe.css("width", ((iframe.width() - moreRowWidth) + 1) + "px");
} else {
iframe.css("width", (iframe.width() - moreRowWidth) + "px");
}
}
break;
}
iframe.attr('style', _super.oldIframeStyle);
jQuery.each(jQuery(".spb-social-icon"), function(key, value) {
jQuery(value).attr("old-right", jQuery(value).get(0).style.right);
jQuery(value).attr("old-left", jQuery(value).get(0).style.left);
});
}
},
hoverSocialTab: function() {
var _super = this;
jQuery('.social_slide_box .spb-social-icon').mouseover(function() {
var runTimeout = null;
var socialIcon = jQuery(this);
var wrapSocialBox = socialIcon.siblings('.spb-wrapper-social-box');
var socialTabDetail = socialIcon.parents('.spb-social-tab-detail');
function enventOpen() {
if (_super.isOpened || _super.isOpenning || _super.isClosing) return;
clearTimeout(runTimeout);
runTimeout = setTimeout(function() {
_super.openSocialBox(socialTabDetail);
}, 100);
}
socialIcon.mousemove(function() {
enventOpen();
});
socialIcon.mouseleave(function() {
clearTimeout(runTimeout);
if (wrapSocialBox.length == 0) {
_super.isOpenning = false;
_super.isOpened = false;
_super.isClosing = false;
}
});
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").mouseleave(function() {
_super.closeSocialBox(socialTabDetail);
});
socialIcon.click(function(e) {
switch ('right') {
case 'left':
if (_super.isOpened) {
_super.closeSocialBox(socialTabDetail);
} else {
enventOpen();
}
break;
case 'right':
if (Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css('right') == "0px") {
if (e.target != wrapSocialBox) {
_super.closeSocialBox(socialTabDetail);
}
} else if (isTouch) {
clearTimeout(runTimeout);
runTimeout = setTimeout(function() {
_super.openSocialBox(socialTabDetail);
}, 100);
}
break;
case 'bottom':
if (socialTabDetail.css('bottom') == "0px") {
if (e.target != wrapSocialBox) {
_super.closeSocialBox(socialTabDetail);
}
}
break;
}
});
jQuery(document).click(function(e) {
if (e.target != wrapSocialBox && e.target != socialIcon) {
// _super.closeSocialBox(socialTabDetail);
}
});
});
},
closeSocialBox: function(socialTabDetail) {
var _super = this;
if (_super.isOpenning || _super.isClosing) return;
_super.isClosing = true;
switch ('right') {
case 'left':
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").animate({
left: '-305px'
}, 500, function() {
jQuery(".spb-social-tab-detail").css('left', '-305px');
if ('1' == 3) {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").removeClass("ztb-sb-bottom");
}
jQuery(".spb-social-icon").show();
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").removeClass("ztb-calc-iframe-height");
_super.isClosing = false;
_super.isOpened = false;
});
break;
case 'right':
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").animate({
right: '-305px'
}, 500, function() {
jQuery(".spb-social-tab-detail").css('right', '-305px');
if ('1' == 3) {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").removeClass("ztb-sb-bottom");
}
jQuery(".spb-social-icon").show();
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").removeClass("ztb-calc-iframe-height");
_super.isClosing = false;
_super.isOpened = false;
});
break;
}
},
openSocialBox: function(socialTabDetail) {
var _super = this;
if (_super.isOpenning || _super.isClosing || _super.isOpened) return;
//_super.isClosing = false;
_super.isOpenning = true;
_super.isOpened = true;
if (_super.openBox == false) {
_super.createYoutubeContent();
_super.createBloggerContent();
_super.createWeiboContent();
_super.createInstagramContent();
_super.createSoundcloudContent();
_super.createFlickrContent();
_super.createSpotifyContent();
_super.openBox = true;
}
var checkSlide = socialTabDetail.hasClass('no-slide');
if (!checkSlide) {
if (_super.setButtonPosition(true) == true && '1' == 3) {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").addClass("ztb-sb-bottom");
}
socialTabDetail.siblings(".social_slide_box").find(".spb-social-icon").hide();
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").addClass("ztb-calc-iframe-height");
switch ('right') {
case 'left':
socialTabDetail.siblings(".social_slide_box").css('left', '-305px');
socialTabDetail.css({
'left': '0'
});
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").animate({
left: 0
}, '2000', function() {
_super.isOpenning = false;
});
break;
case 'right':
socialTabDetail.siblings(".social_slide_box").css('right', '-305px');
socialTabDetail.css({
'right': '0'
});
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").animate({
right: 0
}, '2000', function() {
_super.isOpenning = false;
});
// Zotabox.Core.jQuery("#ztb-sb-"+DATA.client_hash_id+"-widget").animate({right: 0}, '2000', function () {});
break;
}
} else {
_super.isOpenning = false;
}
},
createYoutubeContent: function() {
var _super = this;
jQuery(document).ready(function() {
var _youtubeChannel = '';
if ('' == '') {
_youtubeChannel = 'https://www.youtube.com/channel/UCBR8-60-B28hp2BmDPdntcQ';
}
if (_youtubeChannel[_youtubeChannel.length - 1] == '/') {
_youtubeChannel = _youtubeChannel.slice(0, -1);
}
if (_youtubeChannel[_youtubeChannel.length - 7] == '/') {
_youtubeChannel = _youtubeChannel.slice(0, -7);
}
var strPos = _youtubeChannel.lastIndexOf("/") + 1;
var userName = _youtubeChannel.substring(strPos, _youtubeChannel.length);
var checkUser = _youtubeChannel.match(/(user|\/c\/)/);
var _url = parent.Zotabox.getConfig().staticURL + '/youtube/getChannelId?channel=' + _youtubeChannel;
jQuery.ajax({
type: "GET",
url: _url,
success: function(response) {
response = JSON.parse(response);
if (response.items.length != 0) {
playListID = response.items[0].contentDetails.relatedPlaylists.uploads;
if (checkUser != null) {
_super.getPlayList(playListID, userName, true);
} else {
userName = response.items[0].id;
_super.getPlayList(playListID, userName);
}
}
}
});
});
},
getPlayList: function(playListID, userName, for_user) {
for_user = for_user || false;
var _super = this;
var channelData = new Array();
var videoList = new Array();
var playlistData = null;
var _url = parent.Zotabox.getConfig().staticURL + '/youtube/getPlaylist?playlistId=' + playListID;
jQuery.ajax({
type: "GET",
url: _url,
success: function(response) {
response = JSON.parse(response);
playlistData = response.items;
// return results.items;
for (var i in playlistData) {
if (typeof playlistData[i] !== 'undefined' && typeof playlistData[i] == 'object') {
var item = playlistData[i];
videoList.push({
url: 'https://www.youtube.com/watch?v=' + item.snippet.resourceId.videoId,
image: item.snippet.thumbnails.default.url,
title: item.snippet.title
});
}
}
channelData['user'] = userName;
channelData['videos'] = videoList;
if (for_user == true) {
_super.createYoutubeChannelTab(channelData, true);
} else {
_super.createYoutubeChannelTab(channelData);
}
}
});
},
createYoutubeChannelTab: function(channelData, for_user) {
if (for_user == true) {
jQuery('#spb-iframe-youtube-subcribe').html('<div class="g-ytsubscribe" data-channel="' + channelData['user'] + '" data-layout="full" data-theme="dark" data-count="default"></div>');
} else {
jQuery('#spb-iframe-youtube-subcribe').html('<div class="g-ytsubscribe" data-channelid="' + channelData['user'] + '" data-layout="full" data-theme="dark" data-count="default"></div>');
}
for (i = 0; i < channelData.videos.length; i++) {
var videoLi = '<li class="spb-youtube-video-item"><a target="_blank" href="' + channelData.videos[i].url + '" title="' + channelData.videos[i].title + '"><img width="75" height="55" src="' + channelData.videos[i].image + '" title="' + channelData.videos[i].title + '" alt="' + channelData.videos[i].title + '" /></a><a target="_blank" href="' + channelData.videos[i].url + '" title="' + channelData.videos[i].title + '">' + channelData.videos[i].title + '</a></li>';
jQuery('#spb-youtube-channel-videos ul').append(videoLi);
}
var scriptApiGoogle = document.createElement("script");
scriptApiGoogle.setAttribute("src", "//apis.google.com/js/platform.js");
document.body.appendChild(scriptApiGoogle);
jQuery("#spb-youtube-channel-videos").scrollbar();
jQuery("#spb-youtube-channel-tab").find('.social_loading_image').hide()
},
createBloggerContent: function() {
if ('' == "") {
var _bloggerUrl = "https://googleblog.blogspot.com/";
} else {
var _bloggerUrl = '';
}
if (_bloggerUrl.indexOf("http://") == -1 && _bloggerUrl.indexOf("https://") == -1) {
_bloggerUrl = 'https://' + _bloggerUrl;
}
var _url = 'https://www.googleapis.com/blogger/v3/blogs/byurl';
var _data = {
'url': _bloggerUrl,
'key': 'AIzaSyCW0ZeFuZ8dUXuOaraUxj61mhPsflUXu8I'
};
jQuery.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: _url,
data: _data,
success: function(_blogger) {
var _url = 'https://www.googleapis.com/blogger/v3/blogs/' + _blogger.id + '/posts';
var _data = {
'key': 'AIzaSyCW0ZeFuZ8dUXuOaraUxj61mhPsflUXu8I'
};
jQuery.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: _url,
data: _data,
success: function(_posts) {
if (typeof _posts.items != 'undefined') {
var _posts = _posts.items;
for (var i in _posts) {
var regex = /<img[^>]+src="([^">]+)/;
var results = regex.exec(_posts[i].content);
if (results != null) {
var _image = results[1];
} else {
var _image = '//static.zbcdn2.net/__lnfmta/asset/image/no-image.png';
}
var _postDate = new Date(_posts[i].updated);
var _item = '<div class="blogger-post">' + '<div class="blogger-image"><img width="60" src="' + _image + '" title="' + _posts[i].title + '" /></div>' + '<div class="blogger-info">' + '<span class="blogger-title"><a target="_blank" href="' + _posts[i].url + '" title="' + _posts[i].title + '">' + _posts[i].title + '</a></span><br/>' + '<span class="blogger-author"><i class="blog-author"></i><a href="' + _posts[i].author.url + '" title="' + _posts[i].author.displayName + '">' + _posts[i].author.displayName + '</a></span><span class="date-time"><i></i>' + _postDate.toDateString() + '</span>' + '</div>' + '<div style="clear: both"></div>'; + '</div>';
jQuery('.blogger-social-box').append(_item);
}
jQuery('.blogger-social-box').scrollbar();
jQuery("#spb-blogger-tab").find('.social_loading_image').hide();
}
}
});
}
});
},
createInstagramContent: function() {
if ('' == "") {
var _instagramUsername = "instagram";
} else {
var _instagramUsername = '';
}
var _url = 'https://api.instagram.com/v1/users/search?q=' + _instagramUsername;
var _data = {
'access_token': '1462210335.766d7cd.86081b0ce43c4acb91d245d4b13ff490'
};
jQuery.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: _url,
data: _data,
success: function(response) {
if (typeof response.data != 'undefined') {
var _resData = response.data;
for (i = 0; i < _resData.length; i++) {
if (_resData[i].username == _instagramUsername) {
var _user = _resData[i];
}
}
if (typeof _user != 'undefined') {
jQuery.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: 'https://api.instagram.com/v1/users/' + _user.id + '/?access_token=1462210335.766d7cd.86081b0ce43c4acb91d245d4b13ff490',
success: function(response) {
var _profileHTML = '<div class="image-profile"><img height="54" width="54" src="' + response.data.profile_picture + '" title="" /></div>' + '<div class="user-detail">' + '<div class="instagram-username">' + response.data.full_name + '</div>' + '<div class="user-property first-child"><h5>' + response.data.counts.media + '</h5>photos</div>' + '<div class="user-property"><h5>' + response.data.counts.followed_by + '</h5>followers</div>' + '<div class="user-property"><h5>' + response.data.counts.follows + '</h5>following</div>' + '<div style="clear:both"></div>' + '</div>' + '<div class="user-follow"><a target="_blank" href="https://www.instagram.com/' + response.data.username + '"><img src="//static.zbcdn2.net/__lnfmta/asset/image/follow-button.png" title="Follow" /></a></div>';
jQuery('.instagram-social-box .user-profile').append(_profileHTML);
var _url = 'https://api.instagram.com/v1/users/' + _user.id + '/media/recent/';
var _data = {
'access_token': '1462210335.766d7cd.86081b0ce43c4acb91d245d4b13ff490'
};
jQuery.ajax({
type: "GET",
dataType: "jsonp",
cache: false,
url: _url,
data: _data,
success: function(response) {
var data = response.data;
for (var i in data) {
var _item = '<div class="instagram-post">' + '<img src="' + data[i].images.thumbnail.url + '" title="" />' + '<div class="instagram-hover"><div class="instagram-icons">' + '<span class="icon-instagram-comment-icon"></span><span class="instagram-like">' + data[i].likes.count + '</span>' + '<span class="icon-instagram-like-icon"></span><span class="instagram-common">' + data[i].comments.count + '</span>' + '</div>' + '</div></div>';
jQuery('#show-your-instagram').append(_item);
}
jQuery('#show-your-instagram').append('<div style="clear: both"></div>');
jQuery("#show-your-instagram").scrollbar();
jQuery("#spb-instagram-tab").find('.social_loading_image').hide();
}
});
}
});
}
}
}
});
},
createWeiboContent: function() {
var weiboUrl = '';
var weiboId = /.*\/([0-9]{5,20}).*/g.exec(weiboUrl);
if (weiboId != null) {
jQuery(".weibo-social-box").find('.social_loading_image').remove();
var _html = '<iframe id="sina_widget_' + weiboId[1] + '" style="width:100%; height:360px;" frameborder="0" scrolling="no" src="http://v.t.sina.com.cn/widget/widget_blog.php?uid=' + weiboId[1] + '&height=500&skin=wd_01&showpic=1"></iframe>';
jQuery(".weibo-social-box").html(_html);
jQuery(".weibo-social-box").addClass('content-scroll-bar');
}
},
createSoundcloudContent: function(socialTabDetail) {
var soundcloudUrl = '';
jQuery.ajax({
type: "GET",
url: "//soundcloud.com/oembed",
data: {
"format": "json",
"url": soundcloudUrl,
"maxheight": "350px",
"auto_play": false
},
success: function(response) {
$(".portlet.soundcloud .sc-label input").removeAttr("style");
jQuery(".soundcloud-social-box").find('.social_loading_image').remove();
jQuery(".soundcloud-social-box").addClass('content-scroll-bar').html(response.html);
},
error: function(response) {},
dataType: 'json'
});
},
createFlickrContent: function(socialTabDetail) {
var flickrUrl = '';
window.zotaboxretriveFlickrData = function(flickrData) {
if (flickrData.url != "") {
var ghostDIV = $("<div></div>");
ghostDIV.append(flickrData.html);
ghostDIV.find("a").attr("href", flickrUrl);
ghostDIV.find("img").attr("width", "300px");
ghostDIV.find("img").attr("height", "350px");
jQuery(".flickr-social-box").find('.social_loading_image').remove();
jQuery(".flickr-social-box").addClass('content-scroll-bar').append(ghostDIV.html());
} else {
//$('#picture_link_embed').val(picture_src);
}
};
jQuery.ajax({
type: "GET",
url: "//www.flickr.com/services/oembed/",
data: {
"format": "json",
"url": flickrUrl,
"jsoncallback": "zotaboxretriveFlickrData",
"maxheight": "350px",
"maxwidth": "300px",
},
dataType: 'jsonp'
});
},
createSpotifyContent: function(socialTabDetail) {
var spotifyUrl = '';
var spotifyIframe = $("<iframe></iframe>", {
id: "spotify_iframe",
src: "//embed.spotify.com/?uri=" + spotifyUrl + "&view=list",
frameborder: "0"
});
spotifyIframe.attr({
width: "300px",
height: "350px",
});
jQuery(".spotify-social-box").find('.social_loading_image').remove();
jQuery(".spotify-social-box").addClass('content-scroll-bar').append(spotifyIframe);
},
sortSocialTab: function() {
var _super = this,
_newSort = [],
social_on_count = 0,
style_prop = {},
moreButtonPosition = 6,
ON_BUTTON = 0,
onMoreButton = 1;
ON_BUTTON = 1;
if ('0' == 1 && '1' == 2) {
social_on_count = 1;
moreButtonPosition = 6;
} else {
social_on_count = 0;
}
//Sum Social is on
if ('0' == 0) {
if ('1' == 2) {
if ('0' == 1) {
var social_on_count = 1;
} else {
var social_on_count = 0;
}
} else {
var social_on_count = 0;
}
} else {
if ('1' == 2) {
if (parseInt('0') == 1) {
var social_on_count = 1;
} else {
var social_on_count = 0;
}
} else {
var social_on_count = 0;
}
}
var socialArray = _.clone(_socialButtonData);
// socialArray = _.sortBy(socialArray,function(obj){
// return parseInt(obj.position);
// });
var newArray;
var _num = 0;
//Slide
// if('1' == 3){
// social_on_count = 0;
// }
jQuery.each(socialArray, function(index, value) {
if (typeof value != 'undefined') {
var onNumber = 0;
ON_BUTTON = parseInt(value.on);
if (ON_BUTTON == 1 && '1' == 2 && parseInt(value.share_on) == 1) {
//Share
onNumber = 1;
} else if (ON_BUTTON == 1 && '1' == 1 && parseInt(value.follow_on) == 1) {
//Follow
onNumber = 1;
} else if (ON_BUTTON == 1 && '1' == 3 && parseInt(value.slide_on) == 1) {
//Slide
onNumber = 1;
}
if (onNumber == 1) {
jQuery('.' + value.button_class).css({
'display': 'block'
});
// style_prop.display = 'block';
var socialSize = parseInt('48');
//space between 2 icons
if ('flatcircle' != "flatsquare") {
var _space = 5;
} else {
var _space = 0;
}
//Custom color and style flatsquare
if ('flatcircle' == "flatsquare" && parseInt('0') == 1) {
_space = 1;
}
switch ('right') {
case 'left':
switch ('flatcircle') {
case 'flatsquare':
if (parseInt('0') == 1) {
style_prop.left = (parseInt('48') * social_on_count) + (1 * social_on_count);
style_prop.top = (parseInt('48') * social_on_count) + (1 * social_on_count);
} else {
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
}
break;
case 'flatcircle':
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
break;
case 'flatcircle-new':
case 'rounded-square':
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
break;
case 'rounded-floatrectangle':
socialSize = socialSize = socialSize * 2;
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
if ('0' == 1) {
style_prop.left = (jQuery('.spb-social-icon').outerWidth() * social_on_count) + (6 * social_on_count);
}
break;
case 'split-roundedrectangle':
//padding 69
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
if (parseInt('0') == 0) {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
var width = 85;
break;
case 32:
var width = 105;
break;
case 48:
var width = 160;
break;
case 64:
var width = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
var width = 65;
break;
case 32:
var width = 80;
break;
case 48:
var width = 130;
break;
case 64:
var width = 170;
break;
}
}
} else {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
var width = 85;
break;
case 32:
var width = 105;
break;
case 48:
var width = 160;
break;
case 64:
var width = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
var width = 65;
break;
case 32:
var width = 80;
break;
case 48:
var width = 165;
break;
case 64:
var width = 265;
break;
}
}
}
if ('0' == 1) {
style_prop.left = (width + _space) * social_on_count;
}
socialSize = width;
break;
case 'flatneck':
socialSize = socialSize = socialSize * 2;
style_prop.left = (parseInt('48') * social_on_count) + (6 * social_on_count);
style_prop.top = (parseInt('48') + _space) * social_on_count;
if ('0' == 1) {
style_prop.left = (jQuery('.spb-social-icon').outerWidth() * social_on_count) + (5 * social_on_count);
}
break;
default:
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
}
if ('0' == 1) {
style_prop.top = 0;
} else {
style_prop.left = 'auto';
style_prop.right = 0;
if ('flatcircle' == 'flatcircle-new') {
style_prop.right = '1px';
}
}
if (social_on_count == moreButtonPosition) {
jQuery(".share_more_button").css({
'top': style_prop.top + 'px',
'right': style_prop.right + 'px',
'left': style_prop.left + 'px',
});
}
//direction
if ('1' != 3 && '0' == 1) {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"width": iframeHeight + 'px',
"max-width": iframeHeight + 'px',
"left": _space + 'px',
"opacity": 1,
"display": "block"
});
} else {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"width": (305 + parseInt(socialSize) + _space) + 'px',
"max-width": (305 + parseInt(socialSize) + _space) + 'px',
"left": '-305px',
"opacity": 1,
"display": "block"
});
}
break;
case 'right':
switch ('flatcircle') {
case 'flatsquare':
if (parseInt('0') == 1) {
style_prop.top = (parseInt('48') * social_on_count) + (1 * social_on_count);
style_prop.left = (parseInt('48') * social_on_count) + (1 * social_on_count);
} else {
style_prop.top = (parseInt('48') + _space) * social_on_count;
style_prop.left = (parseInt('48') + _space) * social_on_count;
}
break;
case 'flatcircle':
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
break;
case 'flatcircle-new':
case 'rounded-square':
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
break;
case 'rounded-floatrectangle':
socialSize = socialSize * 2;
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
if ('0' == 1) {
style_prop.left = (jQuery('.spb-social-icon').outerWidth() * social_on_count) + (6 * social_on_count);
}
break;
case 'split-roundedrectangle':
//padding 69
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
if (parseInt('0') == 0) {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
var width = 85;
break;
case 32:
var width = 105;
break;
case 48:
var width = 160;
break;
case 64:
var width = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
var width = 65;
break;
case 32:
var width = 80;
break;
case 48:
var width = 130;
break;
case 64:
var width = 170;
break;
}
}
} else {
if ('1' == 1) {
switch (parseInt('48')) {
case 24:
var width = 85;
break;
case 32:
var width = 105;
break;
case 48:
var width = 160;
break;
case 64:
var width = 210;
break;
}
} else {
switch (parseInt('48')) {
case 24:
var width = 65;
break;
case 32:
var width = 80;
break;
case 48:
var width = 165;
break;
case 64:
var width = 265;
break;
}
}
}
if ('0' == 1) {
style_prop.left = (width + _space) * social_on_count;
}
socialSize = width;
break;
case 'flatneck':
socialSize = socialSize = socialSize * 2;
style_prop.left = (parseInt('48') + _space) * social_on_count;
style_prop.top = (parseInt('48') + _space) * social_on_count;
if ('0' == 1) {
style_prop.left = (jQuery('.spb-social-icon').outerWidth() * social_on_count) + (6 * social_on_count);
}
break;
default:
style_prop.top = (parseInt('48') + _space) * social_on_count;
style_prop.left = (parseInt('48') + _space) * social_on_count;
}
if ('0' == 1) {
style_prop.top = 0;
// style_prop.left = 'auto';
} else {
style_prop.left = 0;
if ('flatcircle' == 'flatcircle-new') {
style_prop.left = '1px';
}
}
//direction
if (social_on_count == moreButtonPosition) {
if ('0' == 1) {
jQuery(".share_more_button").css({
'top': '0',
'left': style_prop.left + 'px',
'right': 'auto'
});
} else {
jQuery(".share_more_button").css({
'top': style_prop.top + 'px',
'right': 'auto',
'left': style_prop.left
});
}
}
if ('1' != 3 && '0' == 1) {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"right": _space + 'px'
});
} else {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"right": '-305px'
});
}
break;
default:
break;
}
jQuery('.' + value.button_class).css(style_prop);
social_on_count++;
//Set iframe height
var socialHeight = parseInt('48') + _space,
socialWidth = parseInt(socialSize) + _space + 305,
socialCount = social_on_count;
var moreButton = 0;
//Set max social
if (socialCount >= 7 && "0" == 1 && "1" == 2) {
socialCount = 7;
} else if (socialCount >= 7 && "0" == 0 && "1" != 3) {
socialCount = 7;
} else if (socialCount >= 7 && "1" != 3) {
socialCount = 7;
}
//Set more button
var iframeHeight = socialHeight * socialCount;
if ('true' == 'true' && jQuery(".share_more_button").length == 0) {
iframeHeight = iframeHeight + parseInt('48');
if ('flatcircle' == 'rounded-floatrectangle') {
iframeHeight = iframeHeight + 2; //border 2px
} else if ('flatcircle' == 'flatneck') {
iframeHeight = iframeHeight + 5;
}
}
//Direction
if ('0' == 1) {
if ('flatcircle' == 'split-roundedrectangle') {
socialHeight = width + _space;
} else {
socialHeight = jQuery(".spb-social-icon").outerWidth() + _space;
}
iframeHeight = (socialHeight * (socialCount + moreButton));
if ('true' == 'true' && jQuery(".share_more_button").length == 0 && 'right' != 'right') {
iframeHeight = iframeHeight + socialHeight - _space;
}
if ('flatcircle' == 'rounded-floatrectangle' && 'true' == 'true' && jQuery(".share_more_button").length == 0 && 'right' != 'right') {
iframeHeight = iframeHeight + 7;
}
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"width": iframeHeight + 'px',
"max-width": iframeHeight + 'px',
"height": jQuery(".spb-social-icon").outerHeight() + _space + 'px',
"opacity": 1,
"display": "block"
});
} else {
Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget").css({
"height": iframeHeight + 'px',
"width": socialWidth + 'px',
"opacity": 1,
"display": "block"
});
}
} else {
jQuery('.' + value.button_class).css({
'display': 'none'
});
}
}
});
jQuery(".spb-social-icon,.social_follow_box,.social_share_box").css({
'display': 'block'
});
jQuery(".total_number_class").css({
'display': 'block'
});
jQuery(".social_share_more_wrap").css({
'display': 'block'
});
// _super.correctBoxPosition();
},
correctBoxPosition: function() {
jQuery('.spb-social-icon').each(function() {
var _socialIcon = jQuery(this);
var _parent = _socialIcon.parent('.spb-social-tab-detail');
if (typeof _socialIcon.offset() != 'undefined') {
if ('right' == 'left' || 'right' == 'right') {
var _iconTopPositon = _socialIcon.offset().top + _socialIcon.outerHeight();
if (_parent.length > 0) {
var _wrapperSocialBox = _parent.find('.spb-wrapper-social-box');
if (typeof _wrapperTopPosition != "undefined") {
var _wrapperTopPosition = _wrapperSocialBox.offset().top + _wrapperSocialBox.outerHeight();
if (_wrapperTopPosition < _iconTopPositon) {
_wrapperSocialBox.css({
'top': (_iconTopPositon - _wrapperTopPosition) + 'px'
});
}
}
} else {
}
} else {
var _iconLeftPositon = _socialIcon.offset().left + _socialIcon.outerWidth();
var _wrapperSocialBox = _parent.find('.spb-wrapper-social-box');
if (typeof _wrapperTopPosition != "undefined") {
var _wrapperLeftPosition = _wrapperSocialBox.offset().left + _wrapperSocialBox.outerWidth();
if (_wrapperLeftPosition < _iconLeftPositon) {
_wrapperSocialBox.css({
'left': (_iconLeftPositon - _wrapperLeftPosition) + 'px'
});
}
}
}
if (1 == 3) {
var iframe = Zotabox.Core.jQuery("#ztb-sb-" + DATA.client_hash_id + "-widget");
iframe.css({
'height': '370px'
});
var _positionTop = iframe.offset().top;
var _windowHeight = jQuery(window.parent).height();
var _height = iframe.outerHeight();
if (_positionTop + _height > _windowHeight) {
var _drop = _positionTop + _height - _windowHeight;
iframe.css({
'top': _positionTop - _drop + 'px'
});
jQuery('.spb-social-icon').each(function() {
var _top = parseInt(jQuery(this).css('top'));
jQuery(this).css({
'top': _top + _drop + 'px'
});
});
}
}
}
});
},
convertNumber: function(_number) {
var _count = _number.toString().length
if (_count >= 4 && _count <= 6) {
return (_number / 1000).toFixed(1) + 'k';
} else if (_count > 6 && _count <= 9) {
return (_number / 1000000).toFixed(1) + 'm';
} else if (_count > 9) {
return (_number / 1000000000).toFixed(1) + 'b';
} else {
return _number;
}
},
getCountBox: function(isHttps) {
var _super = this,
shareType = 2,
enable = 1;
if (parseInt('1') == shareType && (parseInt('0') == enable || parseInt('0') == enable)) {
var _urlGet = ZBLib.getShareURL();
if (typeof isHttps != 'undefined' && isHttps == true) {
_urlGet = _urlGet.replace("http://", "https://");
}
var _facebookOn = 1;
if (_facebookOn == enable) {
var domain = window.location.hostname.split('.')[window.location.hostname.split('.').length - 2] + '.' + window.location.hostname.split('.')[window.location.hostname.split('.').length - 1];
var urlFB = domain;
// urlFB = urlFB.replace("https://","");
// urlFB = urlFB.replace("http://","");
var _totalShareCount = _.isEmpty(jQuery('.share_number').attr("share-count")) ? 0 : parseInt(jQuery('.share_number').attr("share-count"));
jQuery.ajax({
type: "GET",
url: ZOTABOX.actions + "/sharecount/getfacebooksharecount?url=" + encodeURIComponent(urlFB),
success: function(response) {
response = JSON.parse(response);
if (typeof response.engagement != 'undefined') {
var totalAction = response.engagement.reaction_count + response.engagement.share_count + response.engagement.comment_count;
var countNumberItem = jQuery('.facebook_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumber = totalAction + countNumber;
if (totalAction > 0) {
countNumberItem.attr("share-count", totalAction);
countNumberItem.html(_super.convertNumber(countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + totalAction;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
}
});
}
var _googleplusOn = 2;
if (_googleplusOn == enable) {
jQuery.ajax({
type: "POST",
url: "https://clients6.google.com/rpc",
processData: true,
contentType: 'application/json',
data: JSON.stringify({
"method": "pos.plusones.get",
"id": _urlGet,
"params": {
"nolog": true,
"id": _urlGet,
"source": "widget",
"userId": "@viewer",
"groupId": "@self"
},
"jsonrpc": "2.0",
"key": "p",
"apiVersion": "v1"
}),
success: function(response) {
if (response.result.metadata.globalCounts.count > 0) {
var countNumberItem = jQuery('.google_plus_one_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumberItem.attr("share-count", response.result.metadata.globalCounts.count);
countNumberItem.html(_super.convertNumber(response.result.metadata.globalCounts.count + countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + response.result.metadata.globalCounts.count;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
});
}
var _pinterestOn = 2;
if (_pinterestOn == enable) {
jQuery.ajax({
type: "GET",
url: "https://api.pinterest.com/v1/urls/count.json?callback=receiveCount&url=" + encodeURIComponent(_urlGet),
complete: function(response) {
var newString = response.responseText;
newString = newString.match(new RegExp("{.*}"));
var count = JSON.parse(newString[0]).count;
if (count > 0) {
var countNumberItem = jQuery('.pinterest_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumberItem.attr("share-count", count);
countNumberItem.html(_super.convertNumber(count + countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + count;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
});
}
var _linkedinOn = 1;
if (_linkedinOn == enable) {
jQuery.ajax({
type: "GET",
dataType: "jsonp",
url: "https://www.linkedin.com/countserv/count/share?url=" + encodeURIComponent(_urlGet),
complete: function(response) {
if (response.responseJSON.count > 0) {
var countNumberItem = jQuery('.linked_in_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumberItem.attr("share-count", response.responseJSON.count);
countNumberItem.html(_super.convertNumber(response.responseJSON.count + countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + response.responseJSON.count;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
});
}
var _yummlyOn = 2;
if (_yummlyOn == enable) {
jQuery.ajax({
type: "GET",
url: "https://www.yummly.com/services/yum-count?url=" + encodeURIComponent(_urlGet),
success: function(response) {
if (response.count > 0) {
var countNumberItem = jQuery('.yummly_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumberItem.attr("share-count", response.count);
countNumberItem.html(_super.convertNumber(response.count + countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + response.count;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
});
}
if (2 == enable) {
jQuery.ajax({
type: "GET",
url: "https://www.reddit.com/api/info.json?url=" + _urlGet,
success: function(response) {
var countReddit = response.data.children.length;
if (countReddit > 0) {
var countNumberItem = jQuery('.reddit_on_button .count_number'),
countNumber = _.isEmpty(countNumberItem.attr("share-count")) ? 0 : parseInt(countNumberItem.attr("share-count"));
countNumberItem.attr("share-count", countReddit);
countNumberItem.html(_super.convertNumber(countReddit + countNumber));
_totalShareCount = parseInt(jQuery('.share_number').attr("share-count"))
_totalShareCount = _totalShareCount + countReddit;
if (jQuery('.total_number_class').length > 0) {
jQuery('.share_number').attr("share-count", _totalShareCount);
jQuery('.share_number').html(_super.convertNumber(_totalShareCount));
}
}
}
});
}
//check https
// if(window.location.protocol == 'https:' && this.isUpdateShareCount == false){
// this.isUpdateShareCount = true;
// _super.getCountBox(true);
// }
}
}
}
window.onload = function() {
window.SocialButtonBox = new SocialButton();
if (window.onrender) {
window.onrender();
}
} < /script> < style type = "text/css" > /*<![CDATA[*/ /*]]>*/ < /style> < style type = "text/css" > /*<![CDATA[*/ /*]]>*/ < /style> < /body> < /html>
< !DOCTYPE html >
< html >
< head >
< title > < /title> < meta charset = "utf-8" >
< meta name = "viewport"
content = "width=device-width, initial-scale=1" >
< meta http - equiv = "Content-Security-Policy"
content = "default-src *; media-src *; img-src * 'self' data: blob:; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; style-src * 'self' 'unsafe-inline'; font-src * data: ;" >
< /head>
< body data - wzb = "SocialMobileTool" >
< style type = "text/css" >
body {
width: 1280 px;
background - color: rgba(255, 255, 255, 0.80);
color: rgb(26, 24, 25);
}
# swiper - frame {
visibility: hidden;
width: 1280 px;
margin: 0;
margin - right: 0;
}
.swiper - container - free - mode > .swiper - wrapper {
opacity: 0;
margin - top: 0 px;
}
< /style>
< div id = "swiper-frame" >
< div class = "swiper-container" >
< div class = "swiper-wrapper" >
< div id = "ztb_phone_wrapper"
class = "swiper-slide" >
< a
id = "ztb_phone"
aria - label = "phone"
widget - id = "973659"
monitor - id = "7tgJXyC4"
href = "tel:07930698997"
target = _top
data - attr = "phone"
style = "background-color: #33C96E" >
< i style = "color: #fff"
class = "zb3-icon icon-019" > < /i> < /a> < /div><div id="ztb_email_wrapper" class="swiper-slide"> < a
id = "ztb_email"
aria - label = "email"
widget - id = "973659"
monitor - id = "7tgJXyC4"
href = "mailto:wmw.susie@outlook.com"
target = _top
data - attr = "email"
style = "background-color: #EA2425" >
< i style = "color: #fff"
class = "zb3-icon icon-013" > < /i> < /a> < /div><div id="ztb_facebook_wrapper" class="swiper-slide"> < a
id = "ztb_facebook"
aria - label = "facebook"
widget - id = "973659"
monitor - id = "7tgJXyC4"
href = "http://www.facebook.com/share.php?u=https://www.workplacemassageandwellbeing.com/"
target = _blank
data - attr = "facebook"
style = "background-color: #3B5999" >
< i style = "color: #fff"
class = "zb3-icon icon-009" > < /i> < /a> < /div><div id="ztb_twitter_wrapper" class="swiper-slide"> < a
id = "ztb_twitter"
aria - label = "twitter"
widget - id = "973659"
monitor - id = "7tgJXyC4"
href = "http://twitter.com/intent/tweet?text=Workplace%20Massage%20%26%20Wellbeing%20-%20Workplace%20Massage%20and%20Wellbeing%20https%3A%2F%2Fwww.workplacemassageandwellbeing.com%2F"
target = _blank
data - attr = "twitter"
style = "background-color: #00ACED" >
< i style = "color: #fff"
class = "zb3-icon icon-014" > < /i> < /a> < /div><div id="ztb_linked_in_wrapper" class="swiper-slide"> < a
id = "ztb_linked_in"
aria - label = "linked_in"
widget - id = "973659"
monitor - id = "7tgJXyC4"
href = "http://www.linkedin.com/shareArticle?mini=true&url=https://www.workplacemassageandwellbeing.com/"
target = _blank
data - attr = "linked_in"
style = "background-color: #007BB6" >
< i style = "color: #fff"
class = "zb3-icon icon-012" > < /i> < /a> < /div><div id="ztb_contact_form_973654_wrapper" class="swiper-slide"> < a
id = "ztb_contact_form_973654"
aria - label = "contact_form_973654"
widget - id = "973654"
monitor - id = "7tgJXyC1"
href = "javascript:Zotabox.getWidgetById(973654).showPopup(true);"
target = _parent
data - attr = "contact_form_973654"
style = "background-color: #FF9900" >
< i style = "color: #fff"
class = "zb2-icon icon-ztb-icon-email2" > < /i> < /a> < /div> < /div> < div class = "swiper-scrollbar" > < /div> < /div> < /div>
< script type = "text/javascript"
src = "//static.zbcdn2.net/__lnfmta/asset/script/swiper.js" > < /script>
< script type = "text/javascript" >
window.swiperBar;
Zotabox.addEvent('load', window, function() {
var smtSwiperOpts = {
scrollbar: '.swiper-scrollbar',
scrollbarHide: false,
effect: 'slide',
setWrapperSize: true,
spaceBetween: 4,
freeMode: true,
freeModeMomentumRatio: 0.5,
freeModeSticky: true,
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
preventClicks: false,
touchEventsTarget: 'wrapper',
simulateTouch: true,
iOSEdgeSwipeDetection: true,
onInit: function() {
var swiperFrame = Zotabox.Core.Sly('#swiper-frame').find(document.body);
if (swiperFrame) {
swiperFrame.style.visibility = 'visible';
};
}
}
smtSwiperOpts = Zotabox._.defaults({
width: 1268,
slidesPerView: 6,
slidesOffsetBefore: 2,
slidesOffsetAfter: -2
}, smtSwiperOpts);
window.swiperBar = new Swiper('.swiper-container', smtSwiperOpts);
}); < /script> < style type = "text/css" > /*<![CDATA[*/ /*]]>*/ < /style> < style type = "text/css" > /*<![CDATA[*/ /*]]>*/ < /style> < /body> < /html>
Request | Response |
---|---|
GET /v1/ HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
GET /chains/remote-settings.content-signature.mozilla.org-2022-11-19-18-50-54.chain HTTP/1.1
|
search
|
GET / HTTP/1.1
|
search
|
GET /v1/tiles HTTP/1.1
|
search
|
GET /v1/buckets/main/collections/ms-language-packs/records/cfr-v1-en-US HTTP/1.1
|
search
|
GET / HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
GET / HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
GET / HTTP/1.1
|
search
|
GET /css/sites.css?buildTime=1664981234 HTTP/1.1
|
search
|
GET /css/old/slideshow/slideshow.css?1664981234 HTTP/1.1
|
search
|
GET /js/lang/en/stl.js?buildTime=1664981234& HTTP/1.1
|
search
|
POST /gts1c3 HTTP/1.1
|
search
|
GET /js/site/footerSignup.js?buildTime=1665093950 HTTP/1.1
|
search
|
GET /js/site/theme-plugins.js?buildTime=1664981234 HTTP/1.1
|
search
|
GET /fonts/Raleway/font.css?2 HTTP/1.1
|
search
|
GET /css/social-icons.css?buildtime=1664981234 HTTP/1.1
|
search
|
GET /css/old/fancybox.css?1664981234 HTTP/1.1
|
search
|
GET /fonts/Source_Sans_Pro/font.css?2 HTTP/1.1
|
search
|
GET /fonts/Roboto_Condensed/font.css?2 HTTP/1.1
|
search
|
GET /js/site/main.js?buildTime=1664981234 HTTP/1.1
|
search
|
GET /images/site/footer/footer-toast-published-image-1.png HTTP/1.1
|
search
|
GET /files/main_style.css?1665049075 HTTP/1.1
|
search
|
POST /gts1c3 HTTP/1.1
|
search
|
GET /files/theme/custom.js?1476300631 HTTP/1.1
|
search
|
GET /fonts/Raleway/bold.woff2 HTTP/1.1
|
search
|
GET /fonts/Source_Sans_Pro/italic.woff2 HTTP/1.1
|
search
|
GET /fonts/Source_Sans_Pro/regular.woff2 HTTP/1.1
|
search
|
GET /fonts/Source_Sans_Pro/bold.woff2 HTTP/1.1
|
search
|
GET /fonts/wSocial/wsocial.woff?ts=1664978253965 HTTP/1.1
|
search
|
GET /fonts/Source_Sans_Pro/ultralight.woff2 HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
GET /files/theme/mobile.js?1476300631 HTTP/1.1
|
search
|
GET /files/theme/plugins.js?1476300631 HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
POST / HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F6f216d30-b6e9-4471-9b6f-86095d60e4b7.jpeg HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F79f3ec27-4efa-459e-a0bf-ae28f5d2dd3d.jpeg HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2Fd0135ba0-9033-445f-8155-a6c093862ccb.jpeg HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F7ecd6748-5460-43cc-84b5-f33deb7cf126.jpeg HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F622cb832-8fef-4fe9-9445-c157aaf29d57.jpeg HTTP/1.1
|
search
|
GET /296x148/filters:format(jpeg):quality(60):no_upscale():strip_exif()/https%3A%2F%2Fs3.amazonaws.com%2Fpocket-curatedcorpusapi-prod-images%2F925ee025-58b0-436d-8cda-192ec7c44c33.jpeg HTTP/1.1
|
search
|
GET /js/wsnbn/snowday262.js HTTP/1.1
|
search
|
GET /images/old/slideshow/control_icons.gif HTTP/1.1
|
search
|
GET /images/old/loading.gif HTTP/1.1
|
search
|
GET /css/free-footer-v3.css?buildtime=1665093950 HTTP/1.1
|
search
|
GET /files/theme/images/icons.woff?-h6wei0?1665049075 HTTP/1.1
|
search
|
GET /weebly/apps/generateMap.php?map=google&elementid=601006116735032276&ineditor=0&control=0&width=auto&height=450px&overviewmap=0&scalecontrol=0&typecontrol=0&zoom=10&long=-2.714956&lat=51.651829&domain=www&point=1&align=2&reseller=false HTTP/1.1
|
search
|
GET /uploads/1/2/0/0/120057015/screenshot-20221006-103358_orig.jpg HTTP/1.1
|
search
|
GET /uploads/1/2/0/0/120057015/background-images/772646986.jpg HTTP/1.1
|
search
|
GET /images/landing-pages/global/logotype.svg HTTP/1.1
|
search
|
GET /fonts/SQ_Market/sqmarket-medium.woff2 HTTP/1.1
|
search
|
GET /files/theme/images/menu-trigger-v1.png?1665049075 HTTP/1.1
|
search
|
GET /uploads/1/2/0/0/120057015/bespoke-dance_orig.jpg HTTP/1.1
|
search
|
GET /uploads/1/2/0/0/120057015/screenshot-20221006-102007_orig.jpg HTTP/1.1
|
search
|