1(function() {!function(){"use strict";function e(e,n,t,o,i,s){let c,a,r;return c=e-o,a=n-i,r=t-s,Math.sqrt(c*c+a*a+r*r)}function n(t,o,i){if(null===t)return console.warn("FastComments: targetElement does not exist!");var s=window.location,c=s.hash;function a(e,n,t){e.setAttribute(n,t)}var r="#fast-comments-jt=";function d(e){JSON.stringify(e)!==JSON.stringify(window.fcLastUserObj)&&(window.fcUIInstances&&window.fcUIInstances.forEach(function(n){if(n&&n.instance)try{n.instance.updateUser(e)}catch(e){console.error(e)}}),window.fcLastUserObj=e)}function l(e){return e.includes(r)&&(e=e.replace(/#fast-comments-jt=.+/,"")),e}null!==o.urlId&&void 0!==o.urlId&&"number"==typeof o.urlId&&(o.urlId=""+o.urlId);let u=!0;const f={targetElement:t,config:o};window.fcUIInstances?window.fcUIInstances.push(f):window.fcUIInstances=[f];const p=window.FastCommentsExtensions||(window.FastCommentsExtensions=[]),m={};for(const e in o)"function"==typeof o[e]&&(m[e]=o[e]);const g=JSON.parse(JSON.stringify(o));for(const e in m)g[e]=1;const w=m.onAuthenticationChange;m.onAuthenticationChange=function(e,n){("logout"===e||"user-set"===e||"session-id-set"===e)&&d(n),w&&w(e,n)};const y=m.onCommentsRendered;m.onCommentsRendered=function(e){u&&(window.fcLastUserObj&&f.instance&&f.instance.updateUser(window.fcLastUserObj),u=!0,y&&y(e))},o.sso&&(o.sso.loginCallback&&(m.loginCallback=o.sso.loginCallback,g.sso.loginCallback=!0),o.sso.logoutCallback&&(m.logoutCallback=o.sso.logoutCallback,g.sso.logoutCallback=!0)),o.simpleSSO&&(o.simpleSSO.loginCallback&&(m.loginCallback=o.simpleSSO.loginCallback,g.simpleSSO.loginCallback=!0),o.simpleSSO.logoutCallback&&(m.logoutCallback=o.simpleSSO.logoutCallback,g.simpleSSO.logoutCallback=!0));let h=g.apiHost?g.apiHost:"https://fastcomments.com",C=0;const I=function(n,t){let o;for(;void 0===n.hasDarkBackground&&void 0===n.wrap&&t&&t.parentNode;){let i=null;try{i=window.getComputedStyle(t,"background")}catch(e){}if(i&&i.backgroundColor){let t=i.backgroundColor;if("rgba(0, 0, 0, 0)"!==t&&"transparent"!==t){o=t;let i=t.substring(t.indexOf("(")+1,t.length-1).split(",");const s=isNaN(parseInt(i[3],10))?1:parseFloat(i[3]),c=i.map((e,n)=>parseInt(e,10));s<1&&(c[0]=(1-s)*c[0]+s*c[0],c[1]=(1-s)*c[1]+s*c[1],c[2]=(1-s)*c[2]+s*c[2]);const a=.299*c[0]+.587*c[1]+.114*c[2],r=e(0,0,0,c[0],c[1],c[2]);if(a<100&&r<125&&(n.hasDarkBackground=!0),1===s)break}}t=t.parentNode}return o}(g,t);let k=t;for(;void 0===g.hasDarkBackground&&void 0===g.wrap&&k&&k.parentNode;){let n=null;try{n=window.getComputedStyle(k,"background")}catch(e){}if(n&&n.backgroundColor){let t=n.backgroundColor;if("rgba(0, 0, 0, 0)"!==t&&"transparent"!==t){const n=t.substring(t.indexOf("(")+1,t.length-1).split(",").map((e,n)=>parseInt(e,10));e(255,255,255,n[0],n[1],n[2])>50&&(g.wrap=!0)}}k=k.parentNode}if(c&&c.indexOf(r)>-1){var b=c.substring(18,c.length);b&&(g.jumpToId=b)}const S=s.href?s.href:document.documentURI;if(g.urlId=l(g.urlId?g.urlId:S),g.url=l(g.url?g.url:S),g.pageTitle=g.pageTitle?g.pageTitle:document.title,g.instanceId=Math.random()+"."+Date.now(),f.config=g,/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator&&navigator.userAgent)&&(f.config.startingPage=-1,g.isCrawler=!0),g.originalReferrer=window.location.hostname,g.isCrawler){const e=document.createElement("script");e.setAttribute("src",(h||"https://cdn.fastcomments.com")+"/js/comment-ui-v2.min.js"),g.apiHost=h,e.onload=function(){window.FastCommentsUI(t,g)},document.body.appendChild(e)}else{var v=document.createElement("iframe");v.src=h+"/embed?config="+encodeURIComponent(JSON.stringify(g))+"&wId="+i,a(v,"horizontalscrolling","no"),a(v,"verticalscrolling","no"),a(v,"allowtransparency","true"),a(v,"frameborder","0"),a(v,"scrolling","no"),a(v,"title","FastComments"),a(v,"width","100%"),a(v,"style","width: 1px !important; min-width: 100% !important; border: none !important; overflow: hidden !important; color-scheme: normal !important;"),t.append(v)}function O(e){(e>C||Math.abs(e-C)>100||0===e)&&(C=e,v.height=e,m.onHeightUpdated&&m.onHeightUpdated(e))}f.requested=!0,"true"===g.readonly&&O(0);let N,U=!1;function E(e,n){let t=e.target;for(;t;){if(t==n)return;t=t.parentNode}v&&v.contentWindow&&v.contentWindow.postMessage(JSON.stringify({type:"click-outside",instanceId:g.instanceId}),"*"),p.forEach(function(e){e.onClickOutside&&e.onClickOutside()})}function J(e){E(e,t)}function L(e){if(m.onOpenProfile&&m.onOpenProfile({userId:e.userId,currentUser:e.currentUser,comment:e.comment}))return void D(JSON.stringify({type:"profile-loaded",instanceId:g.instanceId}));const n="profile";
1if(U)p.forEach(function(n){n.openProfile&&(n.config=f.finalConfig,n.openProfile(h,e.userId,I))});else{const t=document.createElement("script");t.setAttribute("src",h+"/js/comment-ui/extensions/comment-ui.profile.embed-extension.min.js"),t.onload=function(){p.forEach(function(e){e.id===n&&(N=e,N.config=f.finalConfig)}),N.openProfile(h,e.userId,I),document.body.addEventListener("click",function(e){E(e,N.extRoot)})},p.push({id:n,scriptNode:t}),document.body.appendChild(t),U=!0}}let R=0;function B(e){if(e.data&&"string"==typeof e.data&&e.origin===h)try{var n=JSON.parse(e.data);if(n.instanceId!==g.instanceId)return;if("update-height"===n.type)O(n.height);else if("update-comment-count"===n.type)m.commentCountUpdated&&m.commentCountUpdated(n.count);else if("scroll-to-position"===n.type&&n.y>0)window.scrollTo({top:v.getBoundingClientRect().y+window.scrollY+n.y});else if("redirect"===n.type)n.isNewWindow?window.open(n.url):window.location=n.url;else if("update-config"===n.type)f.finalConfig=n.config;else if("login"===n.type)m.loginCallback&&m.loginCallback(g.instanceId);else if("logout"===n.type)m.logoutCallback&&m.logoutCallback(g.instanceId);else if("reply-success"===n.type)m.onReplySuccess&&m.onReplySuccess(n.comment);else if("vote-success"===n.type)m.onVoteSuccess&&m.onVoteSuccess(n.comment,n.voteId,n.direction,n.status);else if("on-init"===n.type)m.onInit&&m.onInit();else if("on-render"===n.type)m.onRender&&m.onRender();else if("on-image-clicked"===n.type)m.onImageClicked&&m.onImageClicked(n.src);else if("on-authentication-change"===n.type)m.onAuthenticationChange&&m.onAuthenticationChange(n.changeType,n.data);else if("on-comments-rendered"===n.type)m.onCommentsRendered&&m.onCommentsRendered(n.comments);else if("detect-clicks-outside"===n.type)R||document.body.addEventListener("click",J),R++;else if("u-b"===n.type)m.onUserBlocked&&m.onUserBlocked(n.userId,n.comment,n.isBlocked);else if("c-f"===n.type)m.onCommentFlagged&&m.onCommentFlagged(n.userId,n.comment,n.isFlagged);else if("c-e"===n.type)m.onCommentEdited&&m.onCommentEdited(n.userId,n.comment);else if("c-d"===n.type)m.onCommentDeleted&&m.onCommentDeleted(n.userId,n.comment);else if("stop-detect-clicks-outside"===n.type)R=Math.max(R-1,0),R||document.body.removeEventListener("click",J);else if("open-profile"===n.type)L(n);else if("profile-loaded"===n.type)p.forEach(function(e){e.setLoaded&&(e.setLoaded(),D(JSON.stringify({type:"profile-loaded",instanceId:g.instanceId})))});else if("on-c-s-start"===n.type)m.onCommentSubmitStart&&m.onCommentSubmitStart(n.comment,function(){D(JSON.stringify({type:"on-c-s-continue",instanceId:g.instanceId}))},function(e){D(JSON.stringify({type:"on-c-s-cancel",instanceId:g.instanceId,m:e}))});else if("rvp"===n.type){const e={type:"rvpr",instanceId:g.instanceId,vpH:window.innerHeight,vpW:window.innerWidth,i:v.getBoundingClientRect()};D(JSON.stringify(e))}}catch(n){g.apiHost&&console.error(e,n)}}function j(e){e.data&&"object"==typeof e.data&&"session-info"===e.data.type&&v&&v.contentWindow&&v.contentWindow.postMessage(e.data,"*")}function x(){t.innerHTML="",window.removeEventListener("message",B,!1),window.removeEventListener("message",j,!1);const e=window.fcUIInstances.indexOf(f);e>-1&&window.fcUIInstances.splice(e,1)}function D(e){v&&v.contentWindow&&v.contentWindow.postMessage(e,"*")}window.addEventListener("message",B,!1),window.addEventListener("message",j,!1);const F={id:g.instanceId,destroy:x,update:function(e){const o=[];for(const n in e)JSON.stringify(g[n])!==JSON.stringify(e[n])&&o.push(n);return 1===o.length&&"hasDarkBackground"===o[0]?(g.hasDarkBackground=e.hasDarkBackground,D(JSON.stringify({type:"update-config",k:"hasDarkBackground",v:e.hasDarkBackground,instanceId:g.instanceId})),F):(x(),n(t,e,i))},updateUser:function(e){v&&v.contentWindow&&D(JSON.stringify({type:"update-user",user:e,instanceId:o.instanceId}))},postMessage:D,openProfile:L};f.instance=F;try{window.fcTestAuth=function(){window.open("https://fastcomments.com/cookie-setup")}}catch(e){console.error(e)}return F}window.FastCommentsLiveChat=function(e,t){return n(e,t,"live-chat")}}();})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.