PageSourceSearch

https://www.ru.is/_next/static/chunks/4284.408880cbf5781fec.js

js ru.is collected 2026-09-24 08:45:38 UTC 4,169 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4284,7210],{57210:(o,n,e)=>{e.r(n),e.d(n,{Button:()=>b,ButtonBlock:()=>x});var t=e(6029),l=e(32988),c=e.n(l),s=e(16525),a=e(73947),r=e(81278),i=e(55729),u=e(56587),d=e(7658);let{useRouter:h}=(0,e(8594).T)(r),k=(o,n)=>{n&&localStorage.setItem("lastRoute",o)},b=o=>{var n,e,l;let{children:r,className:b,innerClassName:x,style:p={},text:m,url:_,newTab:C,internal:j,minHeight:g,maxWidth:v=0,minWidth:N=0,align:f,currIconSlug:y,iconSize:w,textStyle:T,toggleText:B,hasIconRight:M,hasIconTop:S,hasIconStrokeCurrentColor:E,hasIconFillCurrentColor:I,onClick:L,RootTag:z="div",htmlType:H,inline:$,backgroundColor:O,backgroundHoverColor:R,borderColor:W,borderHoverColor:P,textColor:q,textHoverColor:A,saveLastRouteOnClick:D}=o,F=h(),{data:G}=(0,a.sz)(),J=null==G||null==(l=G.componentsTheme)||null==(e=l.blocks)||null==(n=e.button)?void 0:n.isComponentsButton,[K,Q]=(0,i.useState)(!1),U=Object.assign({minHeight:"".concat(g,"px")},T),[V,X]=(0,i.useState)(!1);v>0&&(p.maxWidth="".concat(v,"px")),N>0&&(p.minWidth="".concat(N,"px")),$&&!J&&(p.display="inline-block"),O&&R?U.backgroundColor=V?R:O:O&&!R?U.backgroundColor=!V&&O:!O&&R&&(U.backgroundColor=V&&R),W&&P?U.borderColor=V?P:W:W&&!P?U.borderColor=!V&&W:!W&&P&&(U.borderColor=V&&P),q&&A?U.color=V?A:q:q&&!A?U.color=!V&&q:!q&&A&&(U.color=V&&A);let Y="wp-block-kaktus-blocks-button",Z=o=>"".concat(Y,"__").concat(o),oo={};return(oo=J?{...oo,className:c()(b,{"w-full":!$,[Z(f)]:f,"has-icon":!!y,"has-icon-right":M,"has-icon-top":S,"has-icon-stroke-current-color":E,"has-icon-fill-current-color":I,"is-inline":$}),buttonInnerClassName:c()({"flex-col":S}),style:{...p,...U}}:{...oo,className:c()(Y,b,{[Z(f)]:f,"has-icon":!!y,"has-icon-right":M,"has-icon-top":S,"has-icon-stroke-current-color":E,"has-icon-fill-current-color":I,"is-inline":$}),style:p},J||"button"===z||(oo.role="button"),H&&(J?oo.buttonType=H:oo.type=H),B&&(oo.onClick=()=>{Q(!K)}),L&&(oo.onClick=L),J)?(0,t.jsxs)(s.$,{icon:!!y&&(0,t.jsx)("div",{style:U,className:c()(Z("url__icon"),{["icon-size__".concat(w)]:w}),"data-icon":y,children:(0,t.jsx)(d.$,{slug:y})}),iconPlacement:M?"afterText":"beforeText",onClick:()=>{if(_){if(j&&!C){k(_,D),F.push(_),oo.onClick&&oo.onClick();return}C?(k(_,D),window.open(_,"_blank")):(k(_,D),window.location.href=_)}oo.onClick&&oo.onClick()},...oo,onMouseEnter:()=>X(!0),onMouseLeave:()=>X(!1),children:[(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:K?B:m}}),r]}):(0,t.jsx)(z,{...oo,onMouseEnter:()=>X(!0),onMouseLeave:()=>X(!1),children:(0,t.jsxs)(u.x,{className:c()(Z("url"),"gap-2",x),style:U,href:_,newTab:C,internal:j,children:[!!y&&(0,t.jsx)("div",{style:T,className:c()(Z("url__icon"),{["icon-size__".concat(w)]:w}),"data-icon":y,children:(0,t.jsx)(d.$,{slug:y})}),(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:K?B:m}}),(0,t.jsx)("div",{className:Z("border-box"),style:g?{top:"".concat(.15*g,"px"),right:"-".concat(.15*g,"px")}:{}}),r]})})},x=o=>{let{block:n,headerClassName:e}=o,{attrs:l}=n,{className:c,linkText:s,linkUrl:a,linkUrlNewTab:r,linkInternal:i,minHeight:u,maxWidth:d,minWidth:h,align:k,currIconSlug:x,iconSize:p,toggleText:m,hasIconRight:_,hasIconTop:C,fontSize:j,RootTag:g,htmlType:v,inline:N,backgroundColor:f,backgroundHoverColor:y,borderColor:w,borderHoverColor:T,textColor:B,textHoverColor:M,saveLastRouteOnClick:S}=l;return(0,t.jsx)("div",{className:e,children:(0,t.jsx)(b,{className:c,text:s,url:a,newTab:r,internal:i,RootTag:g,minHeight:u,maxWidth:d,minWidth:h,align:k,currIconSlug:x,iconSize:p,toggleText:m,hasIconRight:_,hasIconTop:C,textStyle:j?{fontSize:j}:{},htmlType:v,inline:N,backgroundColor:f,backgroundHoverColor:y,borderColor:w,borderHoverColor:T,textColor:B,textHoverColor:M,saveLastRouteOnClick:S})})}},74284:(o,n,e)=>{e.r(n),e.d(n,{Buttons:()=>r});var t=e(6029),l=e(72323),c=e(32988),s=e.n(c);e(55729);var a=e(57210);let r=o=>{let{block:n}=o,{attrs:e,innerBlocks:c}=n,{className:r}=e,i="wp-block-kaktus-blocks-buttons";return(0,t.jsx)("div",{className:s()(i,r),children:(0,t.jsx)("div",{className:s()("".concat(i,"__inner-blocks"),(0,l.O)(e)),children:c.map((o,n)=>(0,t.jsx)(a.ButtonBlock,{block:o},n))})})}}}]);

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.