PageSourceSearch

https://www.tesa.com/relaunch2020/build/footnote.f0e0c1c4.js

js tesa.com collected 2026-10-02 06:20:29 UTC 2,349 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunktesa_2016=globalThis.webpackChunktesa_2016||[]).push([[689],{8456:(t,e,o)=>{o.d(e,{t:()=>a});var n=o(1223),l=o(5166);const a=(0,n.Q_)("footnotes",{state:()=>({footnotes:{}}),getters:{footnotesByTarget:t=>e=>t.footnotes[e],footnoteByTargetAndElement:t=>(e,o)=>{var n;return null===(n=t.footnotes[e])||void 0===n?void 0:n.find(t=>t.element===o)}},actions:{addFootnote(t){const e={...t,element:(0,l.Xl)(t.element)},o={...this.footnotes,[t.target]:[...this.footnotes[t.target]||[],e]},n=window.innerWidth;Object.values(o).forEach(t=>{t.forEach(t=>{const e=t.element.getBoundingClientRect();t.x=e.left,t.y=e.top}),t.sort((t,e)=>t.y*n+t.x-(e.y*n+e.x))}),this.footnotes=o},removeFootnote(t){this.footnotes[t.target]=(this.footnotes[t.target]||[]).filter(e=>e.element!==t.element)}}})},6309:(t,e,o)=>{o.d(e,{Po:()=>r,Wl:()=>a});var n=o(3330);const l="tesa:footnote-hash-change";function a(t){n.Z.emit(l,t)}function r(t){return n.Z.on(l,t)}},1570:(t,e,o)=>{o.r(e),o.d(e,{default:()=>u});var n=o(5166),l=o(1223),a=o(7651),r=o(6309),s=o(8456);const i=["href"],u=Object.assign({name:"Footnote"},{__name:"Footnote",props:{target:{type:String,default:"main"}},setup(t){var e;const o=null===(e=(0,n.FN)())||void 0===e?void 0:e.proxy,u=(0,n.Rr)(),d=t,f=(0,s.t)(),{footnotesByTarget:v}=(0,l.Jk)(f),{addFootnote:c,removeFootnote:h}=f,g=(0,n.iH)(null),m=(0,n.Fl)(()=>null===p.value?"":`footnote-${d.target}-${p.value}`),p=(0,n.Fl)(()=>{var t;const e=v.value(d.target);if(!e)return null;return e.reduce((t,e)=>(t.includes(e.footnoteText)||t.push(e.footnoteText),t),[]).indexOf(null===(t=g.value)||void 0===t?void 0:t.footnoteText)});function w(t){var e,n;t.preventDefault();const l=`#${m.value}`;window.history.pushState?window.location.hash!==l&&window.history.pushState(null,null,l):window.location.hash=l,(0,r.Wl)(l);const s=document.getElementById(m.value);(0,a.X5)({el:s,header:null===(e=o.$root.$refs)||void 0===e||null===(n=e.pageHeader)||void 0===n?void 0:n.$el,distanceToHeader:20})}return(0,n.bv)(()=>{var t,e;const n=null===(t=u.default)||void 0===t||null===(e=t.call(u)[0])||void 0===e?void 0:e.children;g.value={footnoteText:n,element:o.$el,target:d.target},c(g.value)}),(0,n.Jd)(()=>{h(g.value)}),(t,e)=>((0,n.wg)(),(0,n.iD)("a",{class:"footnote",href:`#${m.value}`,onClick:w},"["+(0,n.zw)(p.value+1)+"]",9,i))}})}}]);

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.