PageSourceSearch

https://estatic.refrens.com/_next/static/chunks/6657.7f4e1e11e9e1e861.js

js refrens.com collected 2026-09-24 09:31:53 UTC 18,339 bytes, 177 lines download raw bytes

1try{let t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a8b10eb3-43bd-4128-9915-446161912280",t._sentryDebugIdIdentifier="sentry-dbid-a8b10eb3-43bd-4128-9915-446161912280")}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6657],{20651:(t,e,s)=>{s.d(e,{A:()=>i});var n=s(14232);let i=(0,s(51846).A)(({size:t,color:e="#000000"})=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",color:e,stroke:"currentColor"},n.createElement("g",{id:"search",transform:"translate(3 3)"},n.createElement("circle",{id:"Ellipse_291",cx:"5.333",cy:"5.333",r:"5.333",className:"cls-1","data-name":"Ellipse 291",transform:"translate(3 3)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{id:"Line_307",d:"M2.9 2.9L0 0",className:"cls-1","data-name":"Line 307",transform:"translate(12.1 12.1)",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))))},31600:(t,e,s)=>{s.d(e,{T:()=>r,l:()=>i});var n=s(44264);let i=n.default.div`
2  display: flex;
3  align-items: center;
4  > div:first-child:not([data-left-icon='true']),
5  > div[data-select='true'] {
6    flex-grow: 1;
7    min-width: 0;
8  }
9`,r=n.default.div`
10  display: flex;
11  align-items: center;
12  margin-inline-start: var(--spacing-s8);
13  &:hover {
14    cursor: help;
15  }
16`},69316:(t,e,s)=>{s.d(e,{A:()=>g});var n=s(4902),i=s(14232);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t}).apply(this,arguments)}var a={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(t){},onComplete:function(t){},preStringTyped:function(t,e){},onStringTyped:function(t,e){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,e){},onTypingResumed:function(t,e){},onReset:function(t){},onStop:function(t,e){},onStart:function(t,e){},onDestroy:function(t){}},o=new(function(){function t(){}var e=t.prototype;return e.load=function(t,e,s){if(t.el="string"==typeof s?document.querySelector(s):s,t.options=r({},a,e),t.isInput="input"===t.el.tagName.toLowerCase(),t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(t){return t.trim()}),t.stringsElement="string"==typeof t.options.stringsElement?document.querySelector(t.options.stringsElement):t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var n=Array.prototype.slice.apply(t.stringsElement.children),i=n.length;if(i)for(var o=0;o<i;o+=1)t.strings.push(n[o].innerHTML.trim())}for(var l in t.strPos=0,t.currentElContent=this.getCurrentElContent(t),t.currentElContent&&t.currentElContent.length>0&&(t.strPos=t.currentElContent.length-1,t.strings.unshift(t.currentElContent)),t.sequence=[],t.strings)t.sequence[l]=l;t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.pause={status:!1,t
16ypewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.autoInsertCss=t.options.autoInsertCss,t.autoInsertCss&&(this.appendCursorAnimationCss(t),this.appendFadeOutAnimationCss(t))},e.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},e.appendCursorAnimationCss=function(t){var e="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+e+"]")){var s=document.createElement("style");s.setAttribute(e,"true"),s.innerHTML="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      ",document.body.appendChild(s)}},e.appendFadeOutAnimationCss=function(t){var e="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+e+"]")){var s=document.createElement("style");s.setAttribute(e,"true"),s.innerHTML="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      ",document.body.appendChild(s)}},t}()),l=new(function(){function t(){}var e=t.prototype;return e.typeHtmlChars=function(t,e,s){if("html"!==s.contentType)return e;var n,i=t.substring(e).charAt(0);if("<"===i||"&"===i){for(n="<"===i?">":";";t.substring(e+1).charAt(0)!==n&&!(1+ ++e>t.length););e++}return e},e.backSpaceHtmlChars=function(t,e,s){if("html"!==s.contentType)return e;var n,i=t.substring(e).charAt(0);if(">"===i||";"===i){for(n=">"===i?"<":"&";t.substring(e-1).charAt(0)!==n&&!(--e<0););e--}return e},t}()),u=function(){function t(t,e){o.load(this,e,t),this.begin()}var e=t.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},e.typewrite=function(t,e){var s=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),i=1;!0!==this.pause.status?this.timeout=setTimeout(function(){e=l.typeHtmlChars(t,e,s);var n,r=0,a=t.substring(e);if("^"===a.charAt(0)&&/^\^\d+/.test(a)&&(n=1+(a=/\d+/.exec(a)[0]).length,r=parseInt(a),s.temporaryPause=!0,s.options.onTypingPaused(s.arrayPos,s),t=t.substring(0,e)+t.substring(e+n),s.toggleBlinking(!0)),"`"===a.charAt(0)){for(;"`"!==t.substring(e+i).charAt(0)&&(i++,!(e+i>t.length)););var o=t.substring(0,e),u=t.substring(o.length+1,e+i);t=o+u+t.substring(e+i+1),i--}s.timeout=setTimeout(function(){s.toggleBlinking(!1),e>=t.length?s.doneTyping(t,e):s.keepTyping(t,e,i),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))},r)},n):this.setPauseStatus(t,e,!0)},e.keepTyping=function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var n=t.substring(0,e+=s);this.replaceText(n),this.typewrite(t,e)},e.doneTyping=function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){s.backspace(t,e)},this.backDelay))},e.backspace=function(t,e){var s=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){e=l.backSpaceHtmlChars(t,e,s);var n=t.substring(0,e);if(s.replaceText(n),s.smartBackspace){var i=s.strings[s.arrayPos+1];s.stopNum=i&&n===i.substring(0,e)?e:0}e>s.stopNum?(e--,s.backspace(t,e)):e<=s.stopNum&&(s.arrayPos++,s.arrayPos===s.strings.length?(s.arrayPos=0,s.options.onLastStringBackspaced(),s.shuffleStringsIfNeeded(),s.begin()):s.typewrite(s.strings[s.sequence[s.arrayPos
16]],e))},n)}else this.setPauseStatus(t,e,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e},e.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(t){return Math.round(Math.random()*t/2)+t},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},e.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(e){t.stop()}),this.el.addEventListener("blur",function(e){t.el.value&&0!==t.el.value.length||t.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},t}(),c=s(98535),p=s(55286),d=s(46101),h=s(67346);let g=t=>{let{i18n:e}=(0,h.Z)(),s=e.dir(),{Wrapper:r=c.az,withInput:a=!1,strings:o,onSelect:l,onChange:g,labelKey:m,valueKey:f,outlined:y,id:v="disco-typed-input",datasource:b,rightIcon:k,leftIcon:C,iconBackground:w,onEnter:E,size:x,typeSpeed:S=50,backSpeed:A=50}=t,P=(0,n.Tt)(t,["Wrapper","withInput","strings","onSelect","onChange","labelKey","valueKey","outlined","id","datasource","rightIcon","leftIcon","iconBackground","onEnter","size","typeSpeed","backSpeed"]);(0,p.A)(()=>{let t=new u(a?`#${v}`:"#disco-typed",Object.assign({strings:o||[""],backSpeed:A,typeSpeed:S},P));return()=>{t.destroy()}},[a,o,S,A,P]);let T=(0,i.useCallback)(t=>{E&&"Enter"===t.key&&E()},[E]),$=(0,i.useMemo)(()=>({id:v,onKeyDown:T}),[v,T]);return i.createElement(r,{"data-ignore-dir":s},!!a&&i.createElement(d.A,{outlined:y,onSelect:l,onChange:g,labelKey:m,valueKey:f,inputProps:$,datasource:b||[],rightIcon:k,leftIcon:C,iconBackground:w,size:x}),!a&&i.createElement("span",{id:"disco-typed"}))}},96964:(t,e,s)=>{s.d(e,{A:()=>D});var n=s(14232),i=s(69316),r=s(46177),a=s(63909),o=s(39187),l=s(20651),u=s(98535),c=s(58186),p=s(12180),d=s.n(p),h=s(10114),g=s.n(h),m=s(57992),f=s(53199),y=s(44264),v=s(20124),b=s(24683),k=s(95002),C=s(86e3);let w=y.default.div`
17  display: flex;
18  align-items: center;
19  && {
20    ${({theme:{screens:t},bg:e,backgroundColor:s,alignment:n})=>(0,y.css)`
21      && {
22        background-color: ${s||"var(--color-blue-100)"};
23        flex-direction: ${n};
24        padding-top: var(--spacing-s32);
25        padding-bottom: var(--spacing-s32);
26        ${e&&(0,y.css)`
27          background-image: url(${e});
28        `}
29
30        @media screen and (${t.lte.xs}) {
31          flex-direction: column;
32        }
33      }
34    `}
35  }
36`,E=(0,y.default)(C.m)`
37  && {
38    display: flex;
39    flex-direction: column;
40    justify-content: center;
41    align-items: center;
42    text-align: center;
43    flex: 1;
44    ${({theme:{screens:t},alignment:e})=>(0,y.css)`
45      && {
46        padding-bottom: var(--spacing-s32);
47      }
48
49      @media screen and (${t.gte.xs}) {
50        ${"row"===e&&(0,y.css)`
51          margin: var(--spacing-s28) auto auto;
52        `}
53      }
54    `}
55  }
56`,x=(0,y.default)(o.A)`
57  && {
58    max-width: 420px;
59    margin: auto;
60    ${({theme:{screens:t},textColor:e,textAlign:s})=>(0,y.css)`
61      && {
62        padding-top: var(--spacing-s20);
63        padding-bottom: var(--spacing-s20);
64        color: ${e};
65        text-align: ${s};
66        ${s&&"center"!==s&&(0,y.css)`
67          margin: 0;
68        `}
69      }
70      @media screen and (${t.lte.sm}) {
71        ${v.A.d14}
72        color: ${"var(--color-neutral-500)"};
73        margin: 0 var(--spacing-s20);
74        text-align: center;
75      }
76    `}
77  }
78`,S=(0,y.default)(o.A.H1)`
79  ${({theme:{screens:t},textColor:e,textAlign:s})=>(0,y.css)`
80    && {
81      text-align: ${s};
82      color: ${e};
83      @media screen and (${t.lte.sm}) {
84        ${v.A.d28}
85        margin: 0 var(--spacing-s20);
86        text-align: center;
87      }
88    }
89  `}
90`,A=(0,y.default)(o.A)`
91  && {
92    max-width: 450px;
93    text-align: center;
94    ${({textColor:t,textAlign:e})=>(0,y.css)`
95      && {
96        color: ${t};
97        margin: var(--spacing-s36) auto var(--spacing-s20);
98        padding: 0 var(--spacing-s16);
99        text-align: ${e};
100      }
101    `}
102  }
103`,P=(0,y.default)(C.m)`
104  && {
105    flex: 1;
106    ${({theme:{screens:t}})=>(0,y.css)`
107      @media screen and (${t.lte.xs}) {
108        padding: 0;
109      }
110    `}
111  }
112`,T=(0,y.default)(b.A.InputGroup)`
113  && {
114    text-align: left;
115    * {
116      border: none;
117    }
118    > div {
119      width: 100%;
120    }
121
122    ${({theme:{screens:t}})=>(0,y.css)`
123      @media screen and (${t.lte.xs}) {
124        padding: 0 var(--spacing-s16);
125      }
126    `}
127  }
128`,$=y.default.div`
129  ${({theme:{screens:t}})=>(0,y.css)`
130    width: 100%;
131    margin: var(--spacing-s32) 0 var(--spacing-s16);
132
133    @media screen and (${t.gte.xs}) {
134      width: 80%;
135      margin: 0;
136    }
137
138    @media screen and (${t.gte.md}) {
139      width: 60%;
140      margin: 0;
141    }
142  `}
143`,I=y.default.div`
144  ${({theme:{breakpoints:t}})=>(0,y.css)`
145    cursor: pointer;
146    padding: var(--spacing-s16);
147    width: 50%;
148    display: flex;
149    flex-direction: column;
150    align-items: center;
151    justify-content: flex-start;
152    text-decoration: none;
153    text-align: center;
154
155    :hover {
156      background: var(--color-neutral-50);
157    }
158
159    @media screen and (min-width: ${t[1]}) {
160      width: 25%;
161    }
162  `}
163`,O=(0,y.default)(k.A)`
164  && {
165    display: flex;
166    flex-wrap: wrap;
167    max-width: 600px;
168    ${({theme:{screens:t}})=>(0,y.css)`
169      margin-top: var(--spacing-s20);
170      padding: var(--spacing-s24) var(--spacing-s44);
171
172      @media screen and (${t.lte.xs}) {
173        padding: var(--spacing-s24) var(--spacing-s16);
174      }
175    `}
176  }
177`;x.defaultProps={size:"h4"},A.defaultProps={size:"h4"};var B=s(96321),L=s(94298);function N({h1:t,headerCopy:e,footerCopy:s,headerCTA:p,backgroundImage:h,backgroundColor:y,referrer:v,showHeader:b,params:k,alignment:C="column",categories:D,onSearch:j,datasource:z,children:q}){let{config:{isRefrensProd:H,optimizedImageBaseUrl:M}}=(0,L.Ow)(),F=(0,c.A)("(max-width: 568px)"),K=(0,n.useMemo)(()=>(D||[]).map(t=>
177t.displayName),[D]),[_,R]=(0,n.useState)(),{textColor:W,textAlign:G}=k||{},U=(0,n.useCallback)(()=>{if(_&&j){let t=null==D?void 0:D.find(t=>t.displayName===_);return j(_,t)}return Promise.resolve()},[_,D,j]),Y=(0,n.useMemo)(()=>n.createElement($,null,j&&n.createElement(T,null,n.createElement(i.A,{withInput:!0,attr:"value",bindInputFocusEvents:!0,loop:!0,strings:K,outlined:!0,id:"requirement-categories",iconBackground:"var(--color-secondary-500)",datasource:z,labelKey:"displayName",valueKey:"urlKey",onSelect:j,onChange:(t,e)=>{R(e)},onEnter:U,"aria-label":"Search"}),n.createElement(r.Ay,{onClick:U,size:"large","aria-label":"Search Services"},n.createElement(l.A,{color:"var(--color-white-100)"}))),!!(null==D?void 0:D.length)&&n.createElement(O,null,D.map(t=>n.createElement(f.A,{key:t.urlKey,elisif:{href:t.link.href,as:t.link.as},hrefProps:{href:t.link.href}},n.createElement(I,{key:t.urlKey},n.createElement(a.A,Object.assign({},t.icon,{height:48,width:48})),n.createElement(o.A,null,t.displayName)))))),[j,K,z,U,D]);return n.createElement(w,{bg:h,backgroundColor:y,alignment:C},n.createElement(E,{alignment:C},v&&n.createElement(n.Fragment,null,n.createElement(B.A,{src:v.avatar&&d()(v.avatar,{w:130,h:130},H,M),srcSet:v.avatar&&g()(v.avatar,[{w:130,h:130}],H,M),name:v.name,size:65}),n.createElement(u.az,{width:1,mt:"8px"},n.createElement(o.A,{size:"h5",inline:!0,bold:!0},v.name,"\xa0"),n.createElement(o.A,{size:"h5",inline:!0},"has invited you to try Refrens.")),n.createElement("br",null)),b&&n.createElement(u.az,{maxWidth:600},n.createElement(S,{size:"h1",textColor:W,textAlign:G},t),!!e&&n.createElement(x,{textColor:W,textAlign:G},e),p&&n.createElement(m.A,{cta:p})),!F&&Y,!F&&!!s&&"row"===C&&n.createElement(A,{textColor:W,textAlign:G},s)),n.createElement(P,null,n.createElement(u.az,{width:1,id:"refrens-page-form"},q)),F&&Y,!!s&&("column"===C||F)&&n.createElement(A,{textColor:W,textAlign:G},s))}N.defaultProps={showHeader:!0,alignment:"column"};let D=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.