PageSourceSearch

https://asset.gitclear.com/assets/pages-4f3a05f6319b5a993235ac6dc1dec2053805f8fe5ceb7cc0a84482ee7e3cc458.js

js gitclear.com collected 2026-09-24 09:16:32 UTC 45,284 bytes, 2 lines download raw bytes

1GitClear.UI.DemoVideo=function(){var t={initialize:function({width:t="100%",autoplay:e=!1}={}){new GitClear.UI.Popup($(".demo_video_popup_container").show(),{triggerClose:".link_to_close_popup",triggerOpen:".play_container",onOpen:function(){const n=$(".demo_video_popup_container");let o=n.find("iframe");if(!o.get(0)){let e=document.createElement("iframe");e.setAttribute("width",t),e.setAttribute("src","https://www.youtube.com/embed/dH-3a00qUzE?si=2iop0IdiW1LZ36g8"),e.setAttribute("frameborder","0"),e.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),e.setAttribute("allowfullscreen",!0),n.html(e),o=n.find("iframe")}o.attr("src",o.attr("src")+"?rel=0"+(e?"&autoplay=1":""))}})}};return t}(),GitClear.UI.ScrollProgress=function(){const t={initialize:function(){const t=document.documentElement,e=document.body,n="scrollTop",o="scrollHeight",r=document.querySelector(".scroll_progress");let i;document.addEventListener("scroll",function(){i=(t[n]||e[n])/((t[o]||e[o])-t.clientHeight)*100,r.style.setProperty("--scroll",i+"%")})}};return t}(),GitClear.Faq=function(){var t={initialize:function(){$(".faq_question").click(function(){var e=$
1(this);t.openQuestion(e)})},openQuestion:function(t){t.hasClass("open")?(t.find(".question_answer").hide("fast"),t.removeClass("open")):(t.find(".question_answer").show("fast"),t.addClass("open"))}};return t}(),GitClear.UI.SidebarTableOfContents=function(){const t={};let e,n=null,o=null,r=null,i=0;return t.initialize=function(t){$(window).on("load",function(){n=[],e=$(t),r=t.find(".sidebar_linkable"),GitClear.Utility.logIfSeeminglyAdmin("Found",r,"sidebar_linkable elements"),$.each(r,function(){const t=$(this),e=t.attr("href").replace("#","");t.attr("id",e+"-sidebar");const o=$("#"+e).position().top;n.push([o,e])}),n=n.sort(function(t,e){return t.first()>e.first()}),document.addEventListener("scroll",function(){const t=document.documentElement,a=document.body,s=t.scrollTop||a.scrollTop;if(s&&(!i||Math.abs(s-i)>10)){let t=null;if(s>n.last().first())t=n.last();else if(s<n.first().first())t=n.first();else for(let e=0;e<n.length-1;e++)if(s>n[e].first()&&s<n[e+1].first()){t=n[e];break}if(t&&t!==o){o=t,$(r).removeClass("is_active");const n=e.find("#"+t.last()+"-sidebar");n.addClass("is_active"),GitClear.Utility.logIfSeeminglyAdmin("Setting new active section",n),i=s}}})})},t}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chartkick=e()}(this,function(){"use strict";function t(t){return"[object Array]"===Object.prototype.toString.call(t)}function e(t){return t instanceof Function}function n(t){return"[object Object]"===Object.prototype.toString.call(t)&&!e(t)&&t instanceof Object}function o(e,r){var i;for(i in r)"__proto__"!==i&&(n(r[i])||t(r[i])?(n(r[i])&&!n(e[i])&&(e[i]={}),t(r[i])&&!t(e[i])&&(e[i]=[]),o(e[i],r[i])):void 0!==r[i]&&(e[i]=r[i]))}function r(t,e){var n={};return o(n,t),o(n,e),n}function i(t){var e,n,o;for(e=0;e<t.length;e++)for(o=t[e].data,n=0;n<o.length;n++)if(o[n][1]<0)return!0;return!1}function a(t){return""+t}function s(t){return parseFloat(t)}function l(t){var e,n,o,r;if("object"!=typeof t)if("number"==typeof t)t=new Date(1e3*t);else{if(e=(t=a(t)).match(K))return n=parseInt(e[1],10),o=parseInt(e[3],10)-1,r=parseInt(e[5],10),new Date(n,o,r);var i=t.replace(/ /,"T").replace(" ","").replace("UTC","Z");t=new Date(Date.parse(i)||t)}return t}function c(e){if(!t(e)){var n,o=[];for(n in e)e.hasOwnProperty(n)&&o.push([n,e[n]]);e=o}return e}function u(t,e,n,o,a,s,l,c){return function(u,d,p){var f=u.data,h=r({},t);return h=r(h,p||{}),(u.singleSeriesFormat||"legend"in d)&&e(h,d.legend,u.singleSeriesFormat),d.title&&n(h,d.title),"min"in d?o(h,d.min):i(f)||o(h,0),d.max&&a(h,d.max),"stacked"in d&&s(h,d.stacked),d.colors&&(h.colors=d.colors),d.xtitle&&l(h,d.xtitle),d.ytitle&&c(h,d.ytitle),h=r(h,d.library||{})}}function d(t,e){return t[0].getTime()-e[0].getTime()}function p(t,e){return t[0]-e[0]}function f(t,e){return t-e}function h(t){return 0===t.getMilliseconds()&&0===t.getSeconds()}function m(t){return h(t)&&0===t.getMinutes()}function y(t){return m(t)&&0===t.getHours()}function g(t,e){return y(t)&&t.getDay()===e}function _(t){return y(t)&&1===t.getDate()}function v(t){return _(t)&&0===t.getMonth()}function b(t){return!isNaN(l(t))&&a(t).length>=6}function w(t){return"number"==typeof t}function z(t,e,n,o){t=t||"",n.prefix&&(e<0&&(e*=-1,t+="-"),t+=n.prefix);var r=n.suffix||"",i=n.precision,s=n.round;if(n.byteScale){var l,c=o?n.byteScale:e;c>=0x1000000000000000?(e/=0x1000000000000000,l=6):c>=0x4000000000000?(e/=0x4000000000000,l=5):c>=1099511627776?(e/=1099511627776,l=4):c>=1073741824?(e/=1073741824,l=3):c>=1048576?(e/=1048576,l=2):c>=1024?(e/=1024,l=1):l=0,void 0===i&&void 0===s&&(e>=1023.5&&l<X.length-1&&(e=1,l+=1),i=e>=1e3?4:3),r=" "+X[l]}if(void 0!==i&&void 0!==s)throw Error("Use either round or precision, not both");if(!o&&(void 0!==i&&(e=e.toPrecision(i),n.zeros||(e=parseFloat(e))),void 0!==s))if(s<0){var u=Math.pow(10,-1*s);e=parseInt((1*e/u).toFixed(0))*u}else e=e.toFixed(s),n.zeros||(e=parseFloat(e));if(n.thousands||n.decimal){var d=(e=a(e)).split(".");e=d[0],n.thousands&&(e=e.replace(/\B(?=(\d{3})+(?!\d))/g,n.thousands)),d.length>1&&(e+=(n.decimal||".")+d[1])}return t+e+r}function M(t,e,n){return n in e?e[n]:n in t.options?t.options[n]:null}function x(t){var e,n,o;for(e=0;e<t.length;e++)for(o=t[e].data,n=0;n<o.length;n++)if(0!=o[n][1])return!1;return!0}function C(t,e){var n,o,r=[];if(o="number"===e?s:"datetime"===e?l:a,"bubble"===e)for(n=0;n<t.length;n++)r.push([s(t[n][0]),s(t[n][1]),s(t[n][2])]);else for(n=0;n<t.length;n++)r.push([o(t[n][0]),s(t[n][1])]);return"datetime"===e?r.sort(d):"number"===e&&r.sort(p),r}function A(t,e,n){return T(t)?!n.xmin&&!n.xmax||n.xmin&&!b(n.xmin)||n.xmax&&!b(n.xmax)?"number":"datetime":k(t,w)?"number":!e&&k(t,b)?"datetime":"string"}function k(t,e){var n,o,r;for(n=0;n<t.length;n++)for(r=c(t[n].data),o=0;o<r.length;
1o++)if(!e(r[o][0]))return!1;return!0}function S(t){var e,n,o=[];for(e=0;e<t.length;e++){var r={};for(n in t[e])t[e].hasOwnProperty(n)&&(r[n]=t[e][n]);o.push(r)}return o}function $(e,n,o){var r,i=e.options,a=e.rawData;for(e.singleSeriesFormat=!t(a)||"object"!=typeof a[0]||t(a[0]),e.singleSeriesFormat&&(a=[{name:i.label,data:a}]),a=S(a),r=0;r<a.length;r++)a[r].data=c(a[r].data);for(e.xtype=n||(i.discrete?"string":A(a,o,i)),r=0;r<a.length;r++)a[r].data=C(a[r].data,e.xtype);return a}function E(t){var e,n=c(t.rawData);for(e=0;e<n.length;e++)n[e]=[a(n[e][0]),s(n[e][1])];return n}function T(t,e){if("PieChart"===e||"GeoChart"===e||"Timeline"===e)return 0===t.length;for(var n=0;n<t.length;n++)if(t[n].data.length>0)return!1;return!0}function O(t){var e=t.element,n=document.createElement("a"),o=t.options.download;!0===o?o={}:"string"==typeof o&&(o={filename:o}),n.download=o.filename||"chart.png",n.style.position="absolute",n.style.top="20px",n.style.right="20px",n.style.zIndex=1e3,n.style.lineHeight="20px",n.target="_blank";var r=document.createElement("img");r.alt="Download",r.style.border="none",r.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABCFBMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMywEsqxAAAAV3RSTlMAAQIDBggJCgsMDQ4PERQaHB0eISIjJCouLzE0OTo/QUJHSUpLTU5PUllhYmltcHh5foWLjI+SlaCio6atr7S1t7m6vsHHyM7R2tze5Obo7fHz9ff5+/1hlxK2AAAA30lEQVQYGUXBhVYCQQBA0TdYWAt2d3d3YWAHyur7/z9xgD16Lw0DW+XKx+1GgX+FRzM3HWQWrHl5N/oapW5RPe0PkBu+UYeICvozTWZVK23Ao04B79oJrOsJDOoxkZoQPWgX29pHpCZEk7rEvQYiNSFq1UMqvlCjJkRBS1R8hb00Vb/TajtBL7nTHE1X1vyMQF732dQhyF2o6SAwrzP06iUQzvwsArlnzcOdrgBhJyHa1QOgO9U1GsKuvjUTjavliZYQ8nNPapG6sap/3nrIdJ6bOWzmX/fy0XVpfzZP3S8OJT3g9EEiJwAAAABJRU5ErkJggg==",n.appendChild(r),e.style.position="relative",t.__downloadAttached=!0,t.__enterEvent=D(e,"mouseover",function(r){var i=r.relatedTarget;i&&(i===this||L(this,i))||!t.options.download||(n.href=t.toImage(o),e.appendChild(n))}),t.__leaveEvent=D(e,"mouseout",function(t){var e=t.relatedTarget;e&&(e===this||L(this,e))||n.parentNode&&n.parentNode.removeChild(n)})}function D(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1),n;var o=function(){return n.call(t,window.event)};return t.attachEvent("on"+e,o),o}function I(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)}function L(t,e){if(t===e)return!1;for(;e&&e!==t;)e=e.parentNode;return e===t}function F(t,e,n){Ft.push([t,e,n]),B()}function B(){if(Bt<jt){var t=Ft.shift();t&&(Bt++,N(t[0],t[1],t[2]),B())}}function j(){Bt--,B()}function N(t,e,n){U(t,e,function(t,e,o){var r="string"==typeof o?o:o.message;n(r)})}function U(t,e,n){var o=window.jQuery||window.Zepto||window.$;if(o&&o.ajax)o.ajax({dataType:"json",url:t,success:e,error:n,complete:j});else{var r=new XMLHttpRequest;r.open("GET",t,!0),r.setRequestHeader("Content-Type","application/json"),r.onload=function(){j(),200===r.status?e(JSON.parse(r.responseText),r.statusText,r):n(r,"error",r.statusText)},r.send()}}function H(t,e){document.body.innerText?t.innerText=e:t.textContent=e}function P(t,e,n){n||(e="Error Loading Chart: "+e),H(t,e),t.style.color="#ff0000"}function G(t){try{t.__render()}catch(e){throw P(t.element,e.message),e}}function q(t,e,n){if(n&&t.options.loading&&("string"==typeof e||"function"==typeof e)&&H(t.element,t.options.loading),"string"==typeof e)F(e,function(e){t.rawData=e,G(t)},function(e){P(t.element,e)});else if("function"==typeof e)try{e(function(e){t.rawData=e,G(t)},function(e){P(t.element,e,!0)})}catch(e){P(t.element,e,!0)}else t.rawData=e,G(t)}function R(t){if(t){if("Highcharts"===t.product)return zt;if(t.charts)return Lt;if(e(t))return yt}throw new Error("Unknown adapter")}function W(t){var e=new(R(t))(t);-1===Ut.indexOf(e)&&Ut.push(e)}function V(){"Chart"in window&&W(window.Chart),"Highcharts"in window&&W(window.Highcharts
1),window.google&&window.google.charts&&W(window.google)}function Q(t,e){if(T(e.data,t)){var n=e.options.empty||e.options.messages&&e.options.messages.empty||"No data";H(e.element,n)}else J(t,e),e.options.download&&!e.__downloadAttached&&"chartjs"===e.adapter&&O(e)}function J(t,n){var o,r,i,a;for(i="render"+t,a=n.options.adapter,V(),o=0;o<Ut.length;o++)if(r=Ut[o],(!a||a===r.name)&&e(r[i]))return n.adapter=r.name,n.__adapterObject=r,r[i](n);throw Ut.length>0?new Error("No charting library found for "+t):new Error("No charting libraries found - be sure to include one before your charts")}var K=/^(\d\d\d\d)(-)?(\d\d)(-)?(\d\d)$/i,X=["bytes","KB","MB","GB","TB","PB","EB"],Y={maintainAspectRatio:!1,animation:!1,plugins:{legend:{},tooltip:{displayColors:!1,callbacks:{}},title:{font:{size:20},color:"#333"}},interaction:{}},Z={scales:{y:{ticks:{maxTicksLimit:4},title:{font:{size:16},color:"#333"},grid:{}},x:{grid:{drawOnChartArea:!1},title:{font:{size:16},color:"#333"},time:{},ticks:{}}}},tt=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#651067"],et=function(t,e,n){void 0!==e?(t.plugins.legend.display=!!e,e&&!0!==e&&(t.plugins.legend.position=e)):n&&(t.plugins.legend.display=!1)},nt=function(t,e){t.plugins.title.display=!0,t.plugins.title.text=e},ot=function(t,e){null!==e&&(t.scales.y.min=s(e))},rt=function(t,e){t.scales.y.max=s(e)},it=function(t,e){null!==e&&(t.scales.x.min=s(e))},at=function(t,e){t.scales.x.max=s(e)},st=function(t,e){t.scales.x.stacked=!!e,t.scales.y.stacked=!!e},lt=function(t,e){t.scales.x.title.display=!0,t.scales.x.title.text=e},ct=function(t,e){t.scales.y.title.display=!0,t.scales.y.title.text=e},ut=function(t,e){var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?"rgba("+parseInt(n[1],16)+", "+parseInt(n[2],16)+", "+parseInt(n[3],16)+", "+e+")":t},dt=function(t){return null!=t},pt=function(t,e,n){var o=Math.ceil(t.element.offsetWidth/4/e.labels.length);o>25?o=25:o<10&&(o=10),n.scales.x.ticks.callback||(n.scales.x.ticks.callback=function(t){return(t=a(this.getLabelForValue(t))).length>o?t.substring(0,o-2)+"...":t})},ft=function(e,n,o){var r={prefix:e.options.prefix,suffix:e.options.suffix,thousands:e.options.thousands,decimal:e.options.decimal,precision:e.options.precision,round:e.options.round,zeros:e.options.zeros};if(e.options.bytes){var i=e.data;"pie"===o&&(i=[{data:i}]);for(var a=0,s=0;s<i.length;s++)for(var l=i[s],c=0;c<l.data.length;c++)l.data[c][1]>a&&(a=l.data[c][1]);for(var u=1;a>=1024;)u*=1024,a/=1024;r.byteScale=u}if("pie"!==o){var d=n.scales.y;"bar"===o&&(d=n.scales.x),r.byteScale&&(d.ticks.stepSize||(d.ticks.stepSize=r.byteScale/2),d.ticks.maxTicksLimit||(d.ticks.maxTicksLimit=4)),d.ticks.callback||(d.ticks.callback=function(t){return z("",t,r,!0)})}if(!n.plugins.tooltip.callbacks.label)if("scatter"===o)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";return e&&(e+=": "),e+"("+t.label+", "+t.formattedValue+")"};else if("bubble"===o)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";e&&(e+=": ");var n=t.raw;return e+"("+n.x+", "+n.y+", "+n.v+")"};else if("pie"===o)n.plugins.tooltip.callbacks.label=function(e){var n=e.label,o=": ";return t(n)?(n=n.slice())[0]+=o:n+=o,z(n,e.parsed,r)};else{var p="bar"===o?"x":"y";n.plugins.tooltip.callbacks.label=function(t){if(null!==t.parsed[p]){var e=t.dataset.label||"";return e&&(e+=": "),z(e,t.parsed[p],r)}}}},ht=u(r(Y,Z),et,nt,ot,rt,st,lt,ct),mt=function(e,n,o){var i,a=[],c=[],u=e.options.colors||tt,d=!0,p=!0,b=!0,w=!0,z=!0,x=!0,C=e.data,A=0;if("bubble"===o)for(var k=0;k<C.length;k++)for(var S=C[k],$=0;$<S.data.length;$++)S.data[$][2]>A&&(A=S.data[$][2]);var E,T,O,D,I,L,F,B=[],j=[];if("bar"===o||"column"===o||"number"!==e.xtype&&"bubble"!==e.xtype){var N,U,H=[];for(E=0;E<C.length;E++)for(O=C[E],T=0;T<O.data.length;T++)D=O.data[T],B[I="datetime"==e.xtype?D[0].getTime():D[0]]||(B[I]=new Array(C.length)),B[I][E]=s(D[1]),-1===H.indexOf(I)&&H.push(I);for("datetime"!==e.xtype&&"number"!==e.xtype||H.sort(f),T=0;T<C.length;T++)j.push([]);for(U=0;U<H.length;U++)for(E=H[U],"datetime"===e.xtype?(N=new Date(s(E)),d=d&&y(N),i||(i=N.getDay()),p=p&&g(N,i),b=b&&_(N),w=w&&v(N),z=z&&m(N),x=x&&h(N)):N=E,c.push(N),T=0;T<C.length;T++)j[T].push(void 0===B[E][T]?null:B[E][T])}else for(var P=0;P<C.length;P++){for(var G=C[P],q=[],R=0;R<G.data.length;R++){var W={x:s(G.data[R][0]),y:s(G.data[R][1])};"bubble"===o&&(W.r=20*s(G.data[R][2])/A,W.v=G.data[R][2]),q.push(W)}j.push(q)}for(E=0;E<C.length;E++){if(O=C[E],!e.options.colors||!e.singleSeriesFormat||"bar"!==o&&"column"!==o||O.color||!t(e.options.colors)||t(e.options.colors[0]))L=O.color||u[E],F="line"!==o?ut(L,.5):L;else{L=u,F=[];for(var V=0;V<u.length;V++)F[V]=ut(L[V],.5)}var Q={label:O.name||"",data:j[E],fill:"area"===o,borderColor:L,backgroundColor:F,borderWidth:2},J="line"===o||"area"===o||"scatter"===o||"bubble"===o;
1J&&(Q.pointBackgroundColor=L,Q.pointHoverBackgroundColor=L,Q.pointHitRadius=50),"bubble"===o&&(Q.pointBackgroundColor=F,Q.pointHoverBackgroundColor=F,Q.pointHoverBorderWidth=2),O.stack&&(Q.stack=O.stack),!1===M(e,O,"curve")?Q.tension=0:J&&(Q.tension=.4),!1===M(e,O,"points")&&(Q.pointRadius=0,Q.pointHoverRadius=0),Q=r(Q,e.options.dataset||{}),Q=r(Q,O.library||{}),Q=r(Q,O.dataset||{}),a.push(Q)}var K=e.options.xmin,X=e.options.xmax;if("datetime"===e.xtype?(dt(K)&&(n.scales.x.min=l(K).getTime()),dt(X)&&(n.scales.x.max=l(X).getTime())):"number"===e.xtype&&(dt(K)&&(n.scales.x.min=K),dt(X)&&(n.scales.x.max=X)),"datetime"===e.xtype&&0===c.length&&(dt(K)&&c.push(l(K)),dt(X)&&c.push(l(X)),d=!1,p=!1,b=!1,w=!1,z=!1,x=!1),"datetime"===e.xtype&&c.length>0){var Y=(dt(K)?l(K):c[0]).getTime(),Z=(dt(X)?l(X):c[0]).getTime();for(E=1;E<c.length;E++){var et=c[E].getTime();et<Y&&(Y=et),et>Z&&(Z=et)}var nt,ot=(Z-Y)/864e5;if(!n.scales.x.time.unit)if(w||ot>3650?(n.scales.x.time.unit="year",nt=365):b||ot>300?(n.scales.x.time.unit="month",nt=30):d||ot>10?(n.scales.x.time.unit="day",nt=1):z||ot>.5?(n.scales.x.time.displayFormats={hour:"MMM d, h a"},n.scales.x.time.unit="hour",nt=1/24):x&&(n.scales.x.time.displayFormats={minute:"h:mm a"},n.scales.x.time.unit="minute",nt=1/24/60),nt&&ot>0){var rt=e.element.offsetWidth;if(rt>0){var it=Math.ceil(ot/nt/(rt/100));p&&1===nt&&(it=7*Math.ceil(it/7)),n.scales.x.time.stepSize=it}}n.scales.x.time.tooltipFormat||(d?n.scales.x.time.tooltipFormat="PP":z?n.scales.x.time.tooltipFormat="MMM d, h a":x&&(n.scales.x.time.tooltipFormat="h:mm a"))}return{labels:c,datasets:a}},yt=function(t){this.name="chartjs",this.library=t};yt.prototype.renderLineChart=function(t,e){var n={};!t.options.max&&x(t.data)&&(n.max=1);var o=ht(t,r(n,t.options));ft(t,o,e);var i=mt(t,o,e||"line");"number"===t.xtype?(o.scales.x.type=o.scales.x.type||"linear",o.scales.x.position=o.scales.x.position||"bottom"):o.scales.x.type="string"===t.xtype?"category":"time",this.drawChart(t,"line",i,o)},yt.prototype.renderPieChart=function(t){var e=r({},Y);t.options.donut&&(e.cutout="50%"),"legend"in t.options&&et(e,t.options.legend),t.options.title&&nt(e,t.options.title),e=r(e,t.options.library||{}),ft(t,e,"pie");for(var n=[],o=[],i=0;i<t.data.length;i++){var a=t.data[i];n.push(a[0]),o.push(a[1])}var s={data:o,backgroundColor:t.options.colors||tt},l={labels:n,datasets:[s=r(s,t.options.dataset||{})]};this.drawChart(t,"pie",l,e)},yt.prototype.renderColumnChart=function(t,e){var n;if("bar"===e){var o=r(Y,Z);o.indexAxis="y",o.scales.x.grid.drawOnChartArea=!0,o.scales.y.grid.drawOnChartArea=!1,delete o.scales.y.ticks.maxTicksLimit,n=u(o,et,nt,it,at,st,lt,ct)(t,t.options)}else n=ht(t,t.options);ft(t,n,e);var i=mt(t,n,"column");"bar"!==e&&pt(t,i,n),this.drawChart(t,"bar",i,n)},yt.prototype.renderAreaChart=function(t){this.renderLineChart(t,"area")},yt.prototype.renderBarChart=function(t){this.renderColumnChart(t,"bar")},yt.prototype.renderScatterChart=function(t,e){e=e||"scatter";var n=ht(t,t.options);ft(t,n,e),"showLine"in n||(n.showLine=!1);var o=mt(t,n,e);n.scales.x.type=n.scales.x.type||"linear",n.scales.x.position=n.scales.x.position||"bottom","mode"in n.interaction||(n.interaction.mode="nearest"),this.drawChart(t,e,o,n)},yt.prototype.renderBubbleChart=function(t){this.renderScatterChart(t,"bubble")},yt.prototype.destroy=function(t){t.chart&&t.chart.destroy()},yt.prototype.drawChart=function(t,e,n,o){if(this.destroy(t),!t.destroyed){var r={type:e,data:n,options:o};t.options.code&&window.console.log("new Chart(ctx, "+JSON.stringify(r)+");"),t.element.innerHTML="<canvas></canvas>";var i=t.element.getElementsByTagName("CANVAS")[0];t.chart=new this.library(i,r)}};var gt={chart:{},xAxis:{title:{text:null},labels:{style:{fontSize:"12px"}}},yAxis:{title:{text:null},labels:{style:{fontSize:"12px"}}},title:{text:null},credits:{enabled:!1},legend:{borderWidth:0},tooltip:{style:{fontSize:"12px"}},plotOptions:{areaspline:{},area:{},series:{marker:{}}},time:{useUTC:!1}},_t=function(t,e,n){void 0!==e?(t.legend.enabled=!!e,e&&!0!==e&&("top"===e||"bottom"===e?t.legend.verticalAlign=e:(t.legend.layout="vertical",t.legend.verticalAlign="middle",t.legend.align=e))):n&&(t.legend.enabled=!1)},vt=function(t,e){t.title.text=e},bt=u(gt,_t,vt,function(t,e){t.yAxis.min=e},function(t,e){t.yAxis.max=e},function(t,e){var n=e?!0===e?"normal":e:null;t.plotOptions.series.stacking=n,t.plotOptions.area.stacking=n,t.plotOptions.areaspline.stacking=n},function(t,e){t.xAxis.title.text=e},function(t,e){t.yAxis.title.text=e}),wt=function(t,e,n){var o={prefix:t.options.prefix,suffix:t.options.suffix,thousands:t.options.thousands,decimal
1:t.options.decimal,precision:t.options.precision,round:t.options.round,zeros:t.options.zeros};"pie"===n||e.yAxis.labels.formatter||(e.yAxis.labels.formatter=function(){return z("",this.value,o)}),e.tooltip.pointFormatter||e.tooltip.pointFormat||(e.tooltip.pointFormatter=function(){return'<span style="color:'+this.color+'">\u25cf</span> '+z(this.series.name+": <b>",this.y,o)+"</b><br/>"})},zt=function(t){this.name="highcharts",this.library=t};zt.prototype.renderLineChart=function(t,e){var n={};"areaspline"===(e=e||"spline")&&(n={plotOptions:{areaspline:{stacking:"normal"},area:{stacking:"normal"},series:{marker:{enabled:!1}}}}),!1===t.options.curve&&("areaspline"===e?e="area":"spline"===e&&(e="line"));var o,r,i,a=bt(t,t.options,n);"number"===t.xtype?a.xAxis.type=a.xAxis.type||"linear":a.xAxis.type="string"===t.xtype?"category":"datetime",a.chart.type||(a.chart.type=e),wt(t,a,e);var s=t.data;for(r=0;r<s.length;r++){if(s[r].name=s[r].name||"Value",o=s[r].data,"datetime"===t.xtype)for(i=0;i<o.length;i++)o[i][0]=o[i][0].getTime();s[r].marker={symbol:"circle"},!1===t.options.points&&(s[r].marker.enabled=!1)}this.drawChart(t,s,a)},zt.prototype.renderScatterChart=function(t){var e=bt(t,t.options,{});e.chart.type="scatter",this.drawChart(t,t.data,e)},zt.prototype.renderPieChart=function(t){var e=r(gt,{});t.options.colors&&(e.colors=t.options.colors),t.options.donut&&(e.plotOptions={pie:{innerSize:"50%"}}),"legend"in t.options&&_t(e,t.options.legend),t.options.title&&vt(e,t.options.title);var n=r(e,t.options.library||{});wt(t,n,"pie");var o=[{type:"pie",name:t.options.label||"Value",data:t.data}];this.drawChart(t,o,n)},zt.prototype.renderColumnChart=function(t,e){e=e||"column";var n,o,r,i,a=t.data,s=bt(t,t.options),l=[],c=[];for(s.chart.type=e,wt(t,s,e),n=0;n<a.length;n++)for(r=a[n],o=0;o<r.data.length;o++)l[(i=r.data[o])[0]]||(l[i[0]]=new Array(a.length),c.push(i[0])),l[i[0]][n]=i[1];"number"===t.xtype&&c.sort(f),s.xAxis.categories=c;var u,d=[];for(n=0;n<a.length;n++){for(i=[],o=0;o<c.length;o++)i.push(l[c[o]][n]||0);u={name:a[n].name||"Value",data:i},a[n].stack&&(u.stack=a[n].stack),d.push(u)}this.drawChart(t,d,s)},zt.prototype.renderBarChart=function(t){this.renderColumnChart(t,"bar")},zt.prototype.renderAreaChart=function(t){this.renderLineChart(t,"areaspline")},zt.prototype.destroy=function(t){t.chart&&t.chart.destroy()},zt.prototype.drawChart=function(t,e,n){this.destroy(t),t.destroyed||(n.chart.renderTo=t.element.id,n.series=e,t.options.code&&window.console.log("new Highcharts.Chart("+JSON.stringify(n)+");"),t.chart=new this.library.Chart(n))};var Mt={},xt=[],Ct={chartArea:{},fontName:"'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif",pointSize:6,legend:{textStyle:{fontSize:12,color:"#444"},alignment:"center",position:"right"},curveType:"function",hAxis:{textStyle:{color:"#666",fontSize:12},titleTextStyle:{},gridlines:{color:"transparent"},baselineColor:"#ccc",viewWindow:{}},vAxis:{textStyle:{color:"#666",fontSize:12},titleTextStyle:{},baselineColor:"#ccc",viewWindow:{}},tooltip:{textStyle:{color:"#666",fontSize:12}}},At=function(t,e,n){var o;void 0!==e?(o=e?!0===e?"right":e:"none",t.legend.position=o):n&&(t.legend.position="none")},kt=function(t,e){t.title=e,t.titleTextStyle={color:"#333",fontSize:"20px"}},St=function(t,e){t.hAxis.viewWindow.min=e},$t=function(t,e){t.hAxis.viewWindow.max=e},Et=function(t,e){t.isStacked=e||!1},Tt=function(t,e){t.hAxis.title=e,t.hAxis.titleTextStyle.italic=!1},Ot=function(t,e){t.vAxis.title=e,t.vAxis.titleTextStyle.italic=!1},Dt=u(Ct,At,kt,function(t,e){t.vAxis.viewWindow.min=e},function(t,e){t.vAxis.viewWindow.max=e},Et,Tt,Ot),It=function(t){window.attachEvent?window.attachEvent("onresize",t):window.addEventListener&&window.addEventListener("resize",t,!0),t()},Lt=function(t){this.name="google",this.library=t};Lt.prototype.renderLineChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={};!1===t.options.curve&&(n.curveType="none"),!1===t.options.points&&(n.pointSize=0);var o=Dt(t,t.options,n),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"LineChart",r,o)})},Lt.prototype.renderPieChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={chartArea:{top:"10%",height:"80%"},legend:{}};t.options.colors&&(n.colors=t.options.colors),t.options.donut&&(n.pieHole=.5),"legend"in t.options&&At(n,t.options.legend),t.options.title&&kt(n,t.options.title);var o=r(r(Ct,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number","Value"),i.addRows(t.data),e.drawChart(t,"PieChart",i,o)})},Lt.prototype.renderColumnChart=function(t){var e=this;this.waitForLoaded(t,function(){var n=Dt(t,t.options),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"ColumnChart",o,n)})},Lt.prototype.renderBarChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={hAxis:{gridlines:{color:"#ccc"}}},o=u(Ct,At,kt,St,$t,Et,Tt,Ot)(t,t.options,n),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"BarChart",r,o)})},Lt.prototype.renderAreaChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={isStacked:!0,pointSize:0,areaOpacity:.5},o=Dt(t,t.options,n),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"AreaChart",r,o)})},Lt.prototype.renderGeoChart=function(t){var e=this;this.waitForLoaded(t,"geochart",function(){var n={legend:"none",colorAxis:{colors:t.options.colors||["#f6c7b6","#ce502d"]}},o=r(r(Ct,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number",t.options.label||"Value"),i.addRows(t.data),e.drawChart(t,"GeoChart",i,o)})},Lt.prototype.renderScatterChart=function(t){var e=this;this.waitForLoaded(t,function(){var n,o,r,i,a={},s=Dt(t,t.options,a),l=t.data,c=[];for(n=0;n<l.length;n++)for(l[n].name=l[n].name||"Value",i=l[n].data,o=0;o<i.length;o++){var u=new Array(l.length+1);u[0]=i[o][0],u[n+1]=i[o][1],c.push(u)}
1for((r=new e.library.visualization.DataTable).addColumn("number",""),n=0;n<l.length;n++)r.addColumn("number",l[n].name);r.addRows(c),e.drawChart(t,"ScatterChart",r,s)})},Lt.prototype.renderTimeline=function(t){var e=this;this.waitForLoaded(t,"timeline",function(){var n={legend:"none"};t.options.colors&&(n.colors=t.options.colors);var o=r(r(Ct,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn({type:"string",id:"Name"}),i.addColumn({type:"date",id:"Start"}),i.addColumn({type:"date",id:"End"}),i.addRows(t.data),t.element.style.lineHeight="normal",e.drawChart(t,"Timeline",i,o)})},Lt.prototype.destroy=function(t){t.chart&&t.chart.clearChart()},Lt.prototype.drawChart=function(t,e,n,o){this.destroy(t),t.destroyed||(t.options.code&&window.console.log("var data = new google.visualization.DataTable("+n.toJSON()+");\nvar chart = new google.visualization."+e+"(element);\nchart.draw(data, "+JSON.stringify(o)+");"),t.chart=new this.library.visualization[e](t.element),It(function(){t.chart.draw(n,o)}))},Lt.prototype.waitForLoaded=function(t,e,n){var o=this;
1if(n||(n=e,e="corechart"),xt.push({pack:e,callback:n}),Mt[e])this.runCallbacks();else{Mt[e]=!0;var r={packages:[e],callback:function(){o.runCallbacks()}},i=t.__config();i.language&&(r.language=i.language),"geochart"===e&&i.mapsApiKey&&(r.mapsApiKey=i.mapsApiKey),this.library.charts.load("current",r)}},Lt.prototype.runCallbacks=function(){for(var t,e=0;e<xt.length;e++)t=xt[e],this.library.visualization&&("corechart"===t.pack&&this.library.visualization.LineChart||"timeline"===t.pack&&this.library.visualization.Timeline||"geochart"===t.pack&&this.library.visualization.GeoChart)&&(t.callback(),xt.splice(e,1),e--)},Lt.prototype.createDataTable=function(t,e){var n,o,r,i,l,c=[],u=[];for(n=0;n<t.length;n++)for(r=t[n],t[n].name=t[n].name||"Value",o=0;o<r.data.length;o++)i=r.data[o],c[l="datetime"===e?i[0].getTime():i[0]]||(c[l]=new Array(t.length),u.push(l)),c[l][n]=s(i[1]);var f,h=[],m=!0;for(o=0;o<u.length;o++)n=u[o],"datetime"===e?(f=new Date(s(n)),m=m&&y(f)):f="number"===e?s(n):n,h.push([f].concat(c[n]));if("datetime"===e)h.sort(d);else if("number"===e){for(h.sort(p),n=0;n<h.length;n++)h[n][0]=a(h[n][0]);e="string"}var g=new this.library.visualization.DataTable;for(e="datetime"===e&&m?"date":e,g.addColumn(e,""),n=0;n<t.length;n++)g.addColumn("number",t[n].name);return g.addRows(h),g};var Ft=[],Bt=0,jt=4,Nt={},Ut=[],Ht=function(t,e,n){var o;if("string"==typeof t&&(o=t,!(t=document.getElementById(t))))throw new Error("No element with id "+o);this.element=t,this.options=r(Xt.options,n||{}),this.dataSource=e,Xt.charts[t.id]=this,q(this,e,!0),this.options.refresh&&this.startRefresh()};Ht.prototype.getElement=function(){return this.element},Ht.prototype.getDataSource=function(){return this.dataSource},Ht.prototype.getData=function(){return this.data},Ht.prototype.getOptions=function(){return this.options},Ht.prototype.getChartObject=function(){return this.chart},Ht.prototype.getAdapter=function(){return this.adapter},Ht.prototype.updateData=function(t,e){this.dataSource=t,e&&this.__updateOptions(e),q(this,t,!0)},Ht.prototype.setOptions=function(t){this.__updateOptions(t),this.redraw()},Ht.prototype.redraw=function(){q(this,this.rawData)},Ht.prototype.refreshData=function(){if("string"==typeof this.dataSource){var t=-1===this.dataSource.indexOf("?")?"?":"&";q(this,this.dataSource+t+"_="+(new Date).getTime())}else"function"==typeof this.dataSource&&q(this,this.dataSource)},Ht.prototype.startRefresh=function(){var t=this,e=this.options.refresh;if(e&&"string"!=typeof this.dataSource&&"function"!=typeof this.dataSource)throw new Error("Data source must be a URL or callback for refresh");if(!this.intervalId){if(!e)throw new Error("No refresh interval");this.intervalId=setInterval(function(){t.refreshData()},1e3*e)}},Ht.prototype.stopRefresh=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},Ht.prototype.toImage=function(t){if("chartjs"===this.adapter){if(t&&t.background&&"transparent"!==t.background){var e=this.chart.canvas,n=this.chart.ctx,o=document.createElement("canvas"),r=o.getContext("2d");return o.width=n.canvas.width,o.height=n.canvas.height,r.fillStyle=t.background,r.fillRect(0,0,o.width,o.height),r.drawImage(e,0,0),o.toDataURL("image/png")}return this.chart.toBase64Image()}throw new Error("Feature only available for Chart.js")},Ht.prototype.destroy=function(){this.destroyed=!0,this.stopRefresh(),this.__adapterObject&&this.__adapterObject.destroy(this),this.__enterEvent&&I(this.element,"mouseover",this.__enterEvent),this.__leaveEvent&&I(this.element,"mouseout",this.__leaveEvent)},Ht.prototype.__updateOptions=function(t){var e=t.refresh&&t.refresh!==this.options.refresh;this.options=r(Xt.options,t),e&&(this.stopRefresh(),this.startRefresh())},Ht.prototype.__render=function(){this.data=this.__processData(),Q(this.__chartName(),this)},Ht.prototype.__config=function(){return Nt};var Pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return $(this)},e.prototype.__chartName=function(){return"LineChart"},e}(Ht),Gt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return E(this)},e.prototype.__chartName=function(){return"PieChart"},e}(Ht),qt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return $(this,null,!0)},e.prototype.__chartName=function(){return"ColumnChart"},e}(Ht),Rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return $(this,null,!0)},e.prototype.__chartName=function(){return"BarChart"},e}(Ht),Wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return $(this)},e.prototype.__chartName=function(){return"AreaChart"},e}(Ht),Vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return E(this)},e.prototype.__chartName=function(){return"GeoChart"},e}(Ht),Qt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return $(this,"number")},e.prototype.__chartName=function(){return"ScatterChart"},e}(Ht),Jt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){
2return $(this,"bubble")},e.prototype.__chartName=function(){return"BubbleChart"},e}(Ht),Kt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){var t,e=this.rawData;for(t=0;t<e.length;t++)e[t][1]=l(e[t][1]),e[t][2]=l(e[t][2]);return e},e.prototype.__chartName=function(){return"Timeline"},e}(Ht),Xt={LineChart:Pt,PieChart:Gt,ColumnChart:qt,BarChart:Rt,AreaChart:Wt,GeoChart:Vt,ScatterChart:Qt,BubbleChart:Jt,Timeline:Kt,charts:{},configure:function(t){for(var e in t)t.hasOwnProperty(e)&&(Nt[e]=t[e])},setDefaultOptions:function(t){Xt.options=t},eachChart:function(t){for(var e in Xt.charts)Xt.charts.hasOwnProperty(e)&&t(Xt.charts[e])},destroyAll:function(){for(var t in Xt.charts)Xt.charts.hasOwnProperty(t)&&(Xt.charts[t].destroy(),delete Xt.charts[t])},config:Nt,options:{},adapters:Ut,addAdapter:W,use:function(t){return W(t),Xt}};return"undefined"==typeof window||window.Chartkick||(window.Chartkick=Xt,document.addEventListener("turbolinks:before-render",function(){Xt.destroyAll()}),document.addEventListener("turbo:before-render",function(){Xt.destroyAll()}),setTimeout(function(){window.dispatchEvent(new Event("chartkick:load"))},0)),Xt.default=Xt,Xt}),function(){const t=[[.2,.3,.5,.6,.7,.8,.9,.85,.95,.9,1,.95],[.1,.25,.4,.5,.6,.65,.75,.7,.8,.85,.9,.85],[.3,.35,.45,.55,.7,.75,.8,.85,.9,.95,1,1],[.05,.1,.15,.2,.25,.3,.35,.4,.45,.5,.55,.6],[.4,.5,.65,.7,.75,.8,.85,.9,.95,1,1,1],[0,.05,.1,.15,.2,.25,.3,.35,.4,.45,.5,.55]],e=[35,40,38,45,52,48,55,60,58,65,70,72],n=[42,40,45,43,44,46,45,47,48,46,48,49],o=80,r=50,i=function(){a(),l(),s(),c()},a=function(){setTimeout(function(){document.querySelectorAll(".ai_roi_v2_container .scorecard_bar_fill").forEach(function(t,e){setTimeout(function(){t.style.width=t.dataset.width+"%"},120*e)}
2)},600)},s=function(){const t=document.getElementById("cohort_bars_grid");if(t)for(let i=0;i<12;i++){const a=document.createElement("div");a.className="cohort_bar";const s=document.createElement("div");s.className="cohort_bar_ai_segment",s.style.height="0px";const l=document.createElement("div");l.className="cohort_bar_human_segment",l.style.height="0px",a.appendChild(s),a.appendChild(l),t.appendChild(a),function(t,i,a){setTimeout(function(){t.style.height=e[a]/o*r+"px",i.style.height=n[a]/o*r+"px"},800+50*a)}(s,l,i)}},l=function(){const e=document.getElementById("scorecard_heatmap_grid");e&&t.flat().forEach(function(t,n){const o=document.createElement("div");o.className="scorecard_heat_cell",o.style.background="rgba(88, 173, 31, "+Math.max(.08,t)+")",o.style.animationDelay=.5+.008*n+"s",e.appendChild(o)})},c=function(){const t=document.querySelectorAll(".ai_roi_v2_container .is_revealable");if(!t.length)return;if("undefined"==typeof IntersectionObserver)return void t.forEach(function(t){t.classList.add("is_revealed")});const e=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(t.target.classList.add("is_revealed"),e.unobserve(t.target))})},{threshold:.1});t.forEach(function(t){e.observe(t)})};$(function(){$(".pages_ai_roi_v2_body, .home_body").length&&i()})}(),function(){const t=()=>{$(".sales_header_actions .pricing_link").click(t=>{t.preventDefault(),GitClear.Utility.scrollTo($("#reason_pricing"))}),window.innerWidth;{const t=$(".swap_2x");t.attr("src",t.attr("data-src-2x"))}};$(function(){$(".pages_compare_code_climate_velocity_price_screenshots_body, .pages_compare_linearb_price_screenshots_body, .pages_compare_waydev_price_screenshots_body, .pages_compare_jellyfish_price_screenshots_body").length&&t()})}(),function(){const t=function(){$(".telemetry_install_command").on("click focus",function(){this.select()})},e=function(){t()};$(function(){$(".telemetry_install_js_body").length&&e()})}(),function(){var t=function(){GitClear.UI.ScrollProgress.initialize(),GitClear.UI.SidebarTableOfContents.initialize($(".table_of_contents")),$("#expand_commit_metrics").click(function(t){t.preventDefault(),$(this).closest(".unhide_container").hide(),$(".hidden_chart").show()})};$(function(){$(".code_metrics_compared_container").length&&t()})}(),function(){const t=4,e=55,n=function(){o()},o=function(){const n=document.querySelectorAll(".developer_metrics_ai_roi_api_container .is_revealable");if(!n.length)return;if("undefined"==typeof IntersectionObserver)return void n.forEach(function(t){t.classList.add("is_revealed")});const o=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(t.target.classList.add("is_revealed"),o.unobserve(t.target))})},{threshold:.12,rootMargin:"0px 0px -8% 0px"});n.forEach(function(n,r){n.style.transitionDelay=Math.min(r%t,t-1)*e+"ms",o.observe(n)})};$(function(){$(".pages_developer_metrics_ai_roi_api_body").length&&n()})}(),function(){const t=16,e=82,n=30,o=["@","#","$","%","&","*","\xa7","\xb6","=>","\u03bb","\u03c0","\u03a3","{}","<>","::","!=","++","\u2605","\u2726","\u2211"],r=95,i="01<>{}[]();=+-*/.:_ANDORxyzfn",a=["def ","return ","const ","=> {","if (","} else","self.","import","async","await","null","0xF3","/* */","</div>","useState","==>","i++","git ","rebase","HEAD~1","branch","merge","+ 1","- 1","fn(","{...}","case ","break","void","\u03c0","\u03bb","\u03c3","\u03c4","\u03b2","\u29c9","class","yield","match","#define","&&"],s=function(){l(),c(),u(),d(),p()},l=function(){const e=document.getElementById("channel_code_rain");if(e)for(let n=0;n<t;n++){const o=document.createElement("div");o.className="code_rain_column",o.style.left=n/t*100+1+"%",o.style.animationDuration=(7+7*Math.random()).toFixed(2)+"s",o.style.animationDelay=(12*-Math.random()).toFixed(2)+"s",o.style.opacity=(.22+.5*Math.random()).toFixed(2);const r=f();o.textContent=r+r,e.appendChild(o)}},c=function(){const t=document.getElementById("channel_gold_flecks");if(t)for(let e=0;e<n;e++){const e=document.createElement("div");e.className="gold_fleck",e.style.left=46+8*Math.random()+"%",e.style.animationDuration=(5.5+5*Math.random()).toFixed(2)+"s",e.style.animationDelay=(11*-Math.random()).toFixed(2)+"s";const n=(.6+.85*Math.random()).toFixed(2);e.style.width=5*n+"px",e.style.height=5*n+"px",t.appendChild(e)}},u=function(){const t=document.querySelectorAll(".operator_badge"),e=document.querySelectorAll(".riffle_gate"),n=document.querySelectorAll(".connector_line"),o=document.querySelectorAll(".gate_card"),r=function(r,i){[t[r],e[r],n[r],o[r]].forEac
2h(function(t){t&&t.classList.toggle("is_active",i)})},i=function(t){Array.prototype.forEach.call(t,function(t,e){t.addEventListener("mouseenter",function(){r(e,!0)}),t.addEventListener("mouseleave",function(){r(e,!1)})})};i(t),i(o)},d=function(){const t=document.querySelector(".stage_result_pan");if(!t)return;let e=null;const n=function(){const e=document.createElement("span");e.className="result_pan_bubble",e.textContent=o[Math.floor(Math.random()*o.length)],e.style.left=8+84*Math.random()+"%",e.style.fontSize=(13+16*Math.random()).toFixed(1)+"px",e.style.animationDuration=(1.3+1*Math.random()).toFixed(2)+"s",e.style.setProperty("--bubble-rise",(90+130*Math.random()).toFixed(0)+"px"),e.style.setProperty("--bubble-drift",(60*Math.random()-30).toFixed(0)+"px"),e.style.setProperty("--bubble-spin",(120*Math.random()-60).toFixed(0)+"deg"),e.addEventListener("animationend",function(){e.remove()}),t.appendChild(e)};t.addEventListener("mouseenter",function(){e||(n(),e=window.setInterval(n,r))}),t.addEventListener("mouseleave",function(){window.clearInterval(e),e=null})},p=function(){const t=document.querySelectorAll(".reveal_on_scroll");if(!("IntersectionObserver"in window))return void t.forEach(function(t){t.classList.add("is_revealed")});const e=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(t.target.classList.add("is_revealed"),e.unobserve(t.target))})},{threshold:.12});t.forEach(function(t){e.observe(t)})},f=function(){let t="";for(let n=0;n<e;n++){if(Math.random()<.55)t+=a[Math.floor(Math.random()*a.length)];else{const e=2+Math.floor(4*Math.random());for(let n=0;n<e;n++)t+=i[Math.floor(Math.random()*i.length)]}t+="\n"}return t};$(function(){$(".pages_diff_delta_factors_body").length&&s()})}(),function(){const t=function(){$(".one_faq_question h2").click(function(t){$(t.target).closest(".one_faq_question").toggleClass("is_open")}),$(".open_footnote_1").click(function(){$("#footnote_1").toggleClass("is_open")})};$(function(){$(".github_profile_splash_body").length&&t()})}(),$(function(){if($(".home_body").length){GitClear.UI.DemoVideo.initialize();const t=document.documentElement,e=document.body;let n=0;document.addEventListener("scroll",()=>{const o=t.scrollTop||e.scrollTop;if(o<2e3){let r=parseInt(o/((t.scrollHeight||e.scrollHeight)-t.clientHeight)*100);if(r=Math.min(Math.max(r-10,0),50),n!==r){const t=e.querySelector(".home_highlights_wrapper");t&&(t.style.transform=`rotate(-${2*r}deg)`,n=r)}}})}}),function(){const t=function(){e(),n()},e=function(){const t=$(".step_left_side").outerWidth(),e=100;$.each($(".funnel_step_data"),function(n,o){const r=parseInt($(o).attr("data-top-width")),i=parseInt($(o).attr("data-bottom-width")),a=$(o).find(".funnel_colored_block");let s=parseInt(.01*r*t);s=Math.max(s,e),a.css("width",s);let l=parseInt(.01*(r-i)*t*.5);s-2*l<e&&(l=parseInt(.5*(s-e))),a.css("border-left-width",parseInt(l)),a.css("border-right-width",parseInt(l))})},n=function(){$(".funnel_step_container").hover(function(){$(this).find(".slide_in_content").addClass("is_shown")})};$(function(){$(".lines_of_code_stats_body, .pages_diff_delta_factors_body, .pages_diff_delta_factors_new_body").length&&t()})}(),function(){const t=function(){const t=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&t.target.classList.add("visible")})},{threshold:.12});document.querySelectorAll("section").forEach(e=>t.observe(e))};$(function(){$(".mathematics_of_diff_delta_body").length&&t()})}(),function(){var t=function(){e(),n(),i()},e=function(){window.onload=function(){"short"===GitClear.Utility.jsonFromParams().story&&r(null)}},n=function(){$(".select_toggle_container a").click(function(){var t=$(this);window.history.pushState(null,null,window.location.pathname+"?story="+$(this).data("value")),"full"===$(this).data("value")?o(t):"short"===$(this).data("value")&&r(t)})},o=function(t){$(".select_toggle_container ").find("a").removeClass("selected"),$(".toggle_value_full").addClass("selected"),$(".short_story").hide("fast"),$(".full_story").show("fast"),$.timer(300,function(e){$("span.full_story").css("display","inline"),t&&GitClear.Utility.scrollToContent(t,-50),e.stop()})},r=function(t){$(".select_toggle_container ").find("a").removeClass("selected"),$(".toggle_value_short").addClass("selected"),$(".full_story").hide(),$(".short_story").show(),$.timer(300,function(e){$("span.short_story").css("display","inline"),t&&GitClear.Utility.scrollToContent(t,-50),e.stop()})}
2,i=function(){$(".explanation_toggle").click(function(){$(this).hide(),$(this).closest(".arrow_and_toggle").find(".select_toggle_container").show()})};$(function(){$(".count_code_article_container").length&&t()})}(),function(){const t=600,e=430,n=function(){$(".comparison_duration_radio").click(function(){$(".comparison_plans").attr("data-duration",$(this).attr("value"))}),$(document).scroll(function(){const n=document.documentElement.scrollTop;let o=$(".comparison_plans .button_primary").last().offset().top;window.innerWidth<t&&window.innerWidth>=e&&(o-=60),$(".comparison_floating_header").toggleClass("is_visible",n>o)})};$(function(){$(".pages_pricing_body").length&&n()})}(),function(){const t=function(){$("#prospect_pull_request_provider_url").focus()};$(function(){$(".pages_pull_request_review_tool_body").length&&t()})}(),function(){var t=function(){new GitClear.UI.Popup($(".demo_video").show(),{triggerClose:".link_to_close_popup",triggerOpen:".video_link",onOpen:function(){var t=$(".demo_video > iframe");t.attr("src",t.data("src"))}})};$(function(){$(".pages_review_code_faster_body").length&&t()})}(),function(){var t=function(){GitClear.UI.ScrollProgress.initialize(),GitClear.UI.SidebarTableOfContents.initialize($(".toc_sidebar_container .table_of_contents"))};$(function(){$(".software_engineering_metrics_outer_container").length&&t()})}(),function(){var t=function(){document.querySelectorAll("td.row_sum").forEach(t=>{const e=$(t).closest("tr").find(".match_emoji").toArray().reduce((t,e)=>t+parseInt(e.dataset.points),0);$(t).html(e)})};$(function(){$("table.software_metrics").length&&t()})}();

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.