PageSourceSearch

https://www.recoftc.org/themes/custom/rainforest/js/vendors/alpine-portal.min.js?v=0.2.3

js recoftc.org collected 2026-09-24 20:00:29 UTC 837 bytes, 1 lines download raw bytes

1!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e){this.target=null,this.screen=0;const t=e.parentElement;let n=null;this.update=()=>{n&&(n.removeEventListener("change",this.onResize),n=null),0!==this.screen&&(n=window.matchMedia(`(${this.screen>0?"min":"max"}-width: ${Math.abs(this.screen)}px)`),n.addEventListener("change",this.onResize))},this.onResize=n=>{n.matches?document.querySelector(this.target).appendChild(e):t.appendChild(e)},window.Alpine.nextTick((()=>this.onResize(n)))}const t=[];document.addEventListener("alpine:init",(()=>{window.Alpine.directive("portal",((n,{value:i,expression:s},{evaluate:a})=>{i||void 0!==n._x_portal||(n._x_portal=new e(n),t.push(n._x_portal)),!1!==s&&(i?s=a(s):i="target",n._x_portal[i]=s,i&&"screen"===i&&n._x_portal.update())}))}))}));

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.