PageSourceSearch

https://unlock-iceland.com/wp-content/plugins/button-block/build/view.js?ver=24e49495ce3c0361decd

js unlock-iceland.com collected 2026-10-02 13:05:02 UTC 6,406 bytes, 1 lines download raw bytes

1(()=>{"use strict";const t=window.React,e=window.ReactDOM,n=(t,e=["http:","https:","mailto:","tel:"])=>{if("string"!=typeof t)return null;const n=t.replace(/[\u0000-\u001F\u007F]/g,"").trim();if(!n)return null;try{const t=new URL(n);return e.includes(t.protocol)?t.toString():null}catch(t){return n}},r=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),r=["b","strong","i","em","span","a","br"],o=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{r.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(o.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const r=n(e.value);r?t.setAttribute("href",r):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML},o=(t,e=!1)=>!!e||Boolean(t.url),a=(t,e=!1)=>{const{url:r,tooltip:a,target:i,isDownload:l,animationType:s,animationDuration:c,addID:d}=t,u=o(t,e),p=l?{download:""}:{};return{className:e?"btnButton btnEditor":"btnButton",...u&&!e?{href:n(r),target:i,...p}:{},...u?{}:{type:"button"},tooltip:a,"tooltip-pos":"top","data-aos":s,"data-aos-duration":1e3*c,id:d}},i=({attributes:e})=>{const{isUpIcon:n,icon:r,upIcon:o}=e;return(0,t.createElement)(t.Fragment,null,n&&o?.url&&(0,t.createElement)("img",{className:"btnIcon",src:o?.url,alt:o?.alt}),!n&&(0,t.createElement)(t.Fragment,null,r?.svg?(0,t.createElement)("span",{className:"btnIcon",dangerouslySetInnerHTML:{__html:r?.svg}}):r?.class?(0,t.createElement)("i",{className:`btnIcon ${r?.class}`}):null))},l=(0,t.forwardRef)((({attributes:e,isBackend:n=!1,children:r},l)=>{const{iconPos:s="left"}=e,c=o(e,n)?"a":"button";return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(c,{ref:l,...a(e,n)},"right"!==s&&(0,t.createElement)(i,{attributes:e}),r))})),s="linear-gradient(135deg, #0040E3, #18D4FD)",c=(t,e)=>{return null==(n=e)||""===n||Array.isArray(n)&&0===n.length||"object"==typeof n&&0===Object.keys(n).length||"string"==typeof n&&""===n.trim()||"number"==typeof n&&0===n?"":`${t}: ${e};`;var n},d=t=>{const{width:e="",style:n="solid",color:r="",side:o="all",radius:a=""}=t||{},i=t=>{const e=o?.toLowerCase();return e?.includes("all")||e?.includes(t)},l=`${e} ${n} ${r}`,s=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>i(t)?`border-${t}: ${l};`:"")).join(""):""}\n\t\t${c("border-radius",a)}\n\t`;return s},u=t=>{const{color:e="",bgType:n="solid",bg:r="",gradient:o=s}=t||{};return`\n\t\t${c("color",e)}\n\t\t${o||r?c("background","gradient"===n?o:r):""}\n\t`},p=(t,e="box")=>{let n="";return t?.map(((r,o)=>{const{hOffset:a="0px",vOffset:i="0px",blur:l="0px",spreed:s="0px",color:c="#e7f0fe",isInset:d=!1}=r||{},u=d?"inset":"",p=`${a} ${i} ${l}`,m=o+1>=t.length?"":", ";n+="text"===e?`${p} ${c}${m}`:`${p} ${s} ${c} ${u}${m}`})),n||""},m=t=>{const{side:e=2,vertical:n="0px",horizontal:r="0px",top:o="0px",right:a="0px",bottom:i="0px",left:l="0px"}=t||{};return 2===e?`${n} ${r}`:`${o} ${a} ${i} ${l}`},$=(t,e,n=!0)=>{const{fontFamily:r="Default",fontCategory:o="sans-serif",fontVariant:a=400,fontWeight:i,isUploadFont:l=!0,fontSize:s={desktop:null,tablet:null,mobile:null},fontStyle:d,textTransform:u,textDecoration:p,lineHeight:m,letterSpace:$}=e||{},f=!n||!r||"Default"===r,g=s?.desktop||s,b=s?.tablet||g,h=s?.mobile||b,y=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},x=`\n\t\t${f?"":`font-family: '${r}', ${o};`}\n\t\t${c("font-weight",i)}\n\t\t${c("font-size",y(g))}\n\t\t${c("font-style",d)}\n\t\t${c("text-transform",u)}\n\t\t${c("text-decoration",p)}\n\t\t${c("line-height",m)}\n\t\t${c("letter-spacing",$)}\n\t`,w=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",E=f?"":`https://fonts.googleapis.com/css2?family=${r?.split(" ").join("+")}${w.replace(/ /g,"")}&display=swap`;return{googleFontLink:!l||f?"":`@import url(${E});`,styles:`${t}{\n\t\t\t${x}\n\t\t}\n\t\t@media only screen and (max-width: 1024px) {\n\t\t\t${t}{\n\t\t\t\t${c("font-size",y(b))}\n\t\t\t}\n\t\t}\n\t\t@media only screen and (max-width: 640px) {\n\t\t\t${t}{\n\t\t\t\t${c("font-size",y(h))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},f=("undefined"!=typeof btnpricingurl&&btnpricingurl,({attributes:e,id:n})=>
1{const{isFullWidth:o,addCSS:a,alignment:i,typography:l,colors:s,hovColors:c,padding:f,border:g,shadow:b}=e,h=`#${n}`,y=`${h} .btnButton`;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("style",{dangerouslySetInnerHTML:{__html:r(`\n\t\t\t${$("",l)?.googleFontLink}\n\t\t\t${$(y,l)?.styles}\n\n\t\t\t${h}{\n\t\t\t\ttext-align: ${i};\n\t\t\t}\n\t\t\t@media only screen and (min-width: 769px) {\n\t\t\t\t${y}:not(.btnEditor){\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t${y}.btnEditor{\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@media only screen and (max-width: 768px) and (min-width: 577px) {\n\t\t\t\t${y}:not(.btnEditor){\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t${y}.btnEditor{\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t@media only screen and (max-width: 576px) {\n\t\t\t\t${y}:not(.btnEditor){\n\t\t\t\t\tdisplay: inline-flex;\n\t\t\t\t}\n\t\t\t\t${y}.btnEditor{\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t${y}{\n\t\t\t\t${u(s)||"color: #fff; background-color: #146EF5;"}\n\t\t\t\twidth: ${o?"100%":"auto"};\n\t\t\t\tpadding: ${m(f)||"10px 20px"};\n\t\t\t\t${d(g)||"border-radius: 5px;"}\n\t\t\t\tbox-shadow: ${p(b?.shadow||b)||"none"};\n\t\t\t}\n\t\t\t${y}:hover{\n\t\t\t\t${u(c)||"color: #fff; background-color: #FF7A00;"}\n\t\t\t}\n\t\t\t${x=a,"string"!=typeof x?"":x.replace(/</g,"").replace(/expression\s*\(|javascript\s*:/gi,"").replace(/@import/gi,"").trim()}\n\t\t\t`).replace(/\s+/g," ")}}));var x});document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-btn-button").forEach((n=>{const r=JSON.parse(n.dataset.attributes);(0,e.createRoot)(n).render((0,t.createElement)(t.Fragment,null,(0,t.createElement)(f,{attributes:r,id:n.id}),(0,t.createElement)(g,{attributes:r}))),n?.removeAttribute("data-nonce"),n?.removeAttribute("data-attributes"),n?.removeAttribute("data-info")}))}));const g=({attributes:e})=>{const{text:n,animationType:o}=e,a=(0,t.useRef)(null);return(0,t.useEffect)((()=>{o&&window.AOS?.init()}),[]),(0,t.createElement)(l,{attributes:e,ref:a},n&&(0,t.createElement)("span",{className:"btnText",dangerouslySetInnerHTML:{__html:r(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.