PageSourceSearch

https://www.cantref.com/app/brands/default/2595.70e9e4d47b51cc767449.js

js cantref.com collected 2026-09-29 02:39:19 UTC 3,124 bytes, 2 lines download raw bytes

1/*! For license information please see 2595.70e9e4d47b51cc767449.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[2595],{2595(e,t,i){i.r(t),i.d(t,{createFrom:()=>r});var n=i(8987);class o{constructor(e){this.el=e,this.faqId=e.dataset.faqId,this.btnPositive=e.querySelector('button[data-feedback="positive"]'),this.btnNegative=e.querySelector('button[data-feedback="negative"]'),this.contentPositive=e.querySelector(".feedback-widget--positive"),this.contentNegative=e.querySelector(".feedback-widget--negative"),this.btnPositive.onclick=()=>{fetch("/umbraco/surface/Faq/UpdateRating",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({FaqId:this.faqId,VoteYes:!0})}),this.btnPositive.classList.add("feedback-selected"),this.update(!0),this.updateCookie()},this.btnNegative.onclick=()=>{fetch("/umbraco/surface/Faq/UpdateRating",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({FaqId:this.faqId,VoteYes:!1})}),this.btnNegative.classList.add("feedback-selected"),this.update(!1),this.updateCookie()}}update(e){this.btnPositive.setAttribute("disabled","disabled"),this.btnNegative.setAttribute("disabled","disabled");let t=e?this.contentPositive:this.contentNegative;t.removeAttribute("hidden"),t.classList.remove("d-none")}updateCookie(){const e="LOOP_rated_faqs";if(void 0===n.A.get(e))n.A.set(e,JSON.stringify([this.faqId]),{expires:365});else{let t,i=n.A.get(e);try{t=JSON.parse(i),Array.isArray(t)||(t=[])}catch(e){t=[]}t.includes(this.faqId)||t.push(this.faqId),n.A.set(e,JSON.stringify(t),{expires:365})}}}function r(e){e.forEach(e=>{1===e.nodeType&&new o(e)})}},8987(e,t,i){function n(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)"__proto__"!==n&&(e[n]=i[n])}return e}i.d(t,{A:()=>o});var o=function e(t,i){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=n({},i,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in r)r[a]&&(s+="; "+a,!0!==r[a]&&(s+="="+r[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var i=document.cookie?document.cookie.split("; "):[],n={},o=0;o<i.length;o++){var r=i[o].split("="),s=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(a in n||(n[a]=t.read(s,a)),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){o(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}}]);

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.