@jetbrains/kotlin-web-site-ui 2.10.0 → 3.1.0-multiplatform-title.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ctaBlock.css +1 -1
- package/dist/ctaBlock.css.map +1 -1
- package/dist/ctaBlock.js +1 -1
- package/dist/ctaBlock.js.map +1 -1
- package/dist/dataServices.js +1 -1
- package/dist/dataServices.js.LICENSE.txt +2 -0
- package/dist/dataServices.js.map +1 -1
- package/dist/footer.css +1 -1
- package/dist/footer.js +1 -1
- package/dist/footer.js.map +1 -1
- package/dist/formikWrappers.css +1 -1
- package/dist/formikWrappers.js +1 -1
- package/dist/formikWrappers.js.map +1 -1
- package/dist/grid.js.map +1 -1
- package/dist/header.css +1 -1
- package/dist/header.css.map +1 -1
- package/dist/header.js +1 -1
- package/dist/header.js.map +1 -1
- package/dist/popup.css +1 -1
- package/dist/popup.css.map +1 -1
- package/dist/popup.js +1 -1
- package/dist/popup.js.map +1 -1
- package/dist/quotesSlider.css +1 -1
- package/dist/quotesSlider.js +1 -1
- package/dist/quotesSlider.js.map +1 -1
- package/dist/topMenu.css +1 -1
- package/dist/topMenu.css.map +1 -1
- package/dist/topMenu.js +1 -1
- package/dist/topMenu.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/typography.js.map +1 -1
- package/dist/youtubePlayer.css +1 -1
- package/dist/youtubePlayer.css.map +1 -1
- package/dist/youtubePlayer.js +1 -1
- package/dist/youtubePlayer.js.map +1 -1
- package/package.json +8 -8
package/dist/header.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see header.js.LICENSE.txt */
|
|
2
|
-
!function(){var e={4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var l=o.apply(null,n);l&&e.push(l)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},5251:function(e,t,n){"use strict";var r=n(3910),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!a.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:l.current}}t.jsx=u,t.jsxs=u},5893:function(e,t,n){"use strict";e.exports=n(5251)},3910:function(e){"use strict";e.exports=require("react")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{ANDROID_TITLE:function(){return Ee},ANDROID_URL:function(){return _e},COMMUNITY_TITLE:function(){return xe},COMMUNITY_URL:function(){return Te},DATA_SCIENCE_TITLE:function(){return ge},DATA_SCIENCE_URL:function(){return be},DOCS_TITLE:function(){return we},DOCS_URL:function(){return ye},KMM_DOCS_TITLE:function(){return Pe},KMM_DOCS_URL:function(){return De},KOTLIN_DOCS_TITLE:function(){return Be},KOTLIN_DOCS_URL:function(){return Ie},MULTIPLATFORM_MOBILE_TITLE:function(){return de},MULTIPLATFORM_MOBILE_URL:function(){return fe},PLAY_EXAMPLES_TITLE:function(){return Ce},PLAY_EXAMPLES_URL:function(){return je},PLAY_HANDSON_TITLE:function(){return Ne},PLAY_HANDSON_URL:function(){return ze},PLAY_KOANS_TITLE:function(){return Me},PLAY_KOANS_URL:function(){return Ae},PLAY_TITLE:function(){return Oe},PLAY_TITLE_FULL:function(){return Le},PLAY_URL:function(){return Re},SERVER_SIDE_TITLE:function(){return he},SERVER_SIDE_URL:function(){return ve},SOLUTIONS_TITLE:function(){return ce},TEACH_TITLE:function(){return ke},TEACH_URL:function(){return Se},WEB_FRONTEND_TITLE:function(){return pe},WEB_FRONTEND_URL:function(){return me},default:function(){return kt},getNavScheme:function(){return He}});var e,t=n(3910),o=n.n(t),i=require("@rescui/ui-contexts"),l=[],s="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(e||(e={}));var a,u=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,u(this)},d=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},h=function(e){if(f(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,l=o.offsetHeight;return!(i||l||e.getClientRects().length)},v=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},p="undefined"!=typeof window?window:{},m=new WeakMap,g=/auto|scroll/,b=/^tb|vertical/,E=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),_=function(e){return parseFloat(e||"0")},w=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},y=u({devicePixelContentBoxSize:w(),borderBoxSize:w(),contentBoxSize:w(),contentRect:new d(0,0,0,0)}),x=function(e,t){if(void 0===t&&(t=!1),m.has(e)&&!t)return m.get(e);if(h(e))return m.set(e,y),y;var n=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),o=!E&&"border-box"===n.boxSizing,i=b.test(n.writingMode||""),l=!r&&g.test(n.overflowY||""),s=!r&&g.test(n.overflowX||""),a=r?0:_(n.paddingTop),c=r?0:_(n.paddingRight),v=r?0:_(n.paddingBottom),p=r?0:_(n.paddingLeft),x=r?0:_(n.borderTopWidth),T=r?0:_(n.borderRightWidth),k=r?0:_(n.borderBottomWidth),S=p+c,O=a+v,L=(r?0:_(n.borderLeftWidth))+T,R=x+k,z=s?e.offsetHeight-R-e.clientHeight:0,N=l?e.offsetWidth-L-e.clientWidth:0,j=o?S+L:0,C=o?O+R:0,A=r?r.width:_(n.width)-j-N,M=r?r.height:_(n.height)-C-z,B=A+S+N+L,I=M+O+z+R,P=u({devicePixelContentBoxSize:w(Math.round(A*devicePixelRatio),Math.round(M*devicePixelRatio),i),borderBoxSize:w(B,I,i),contentBoxSize:w(A,M,i),contentRect:new d(p,a,A,M)});return m.set(e,P),P},T=function(t,n,r){var o=x(t,r),i=o.borderBoxSize,l=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(n){case e.DEVICE_PIXEL_CONTENT_BOX:return s;case e.BORDER_BOX:return i;default:return l}},k=function(e){var t=x(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=u([t.borderBoxSize]),this.contentBoxSize=u([t.contentBoxSize]),this.devicePixelContentBoxSize=u([t.devicePixelContentBoxSize])},S=function(e){if(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},O=function(){var e=1/0,t=[];l.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new k(t.target),o=S(t.target);r.push(n),t.lastReportedSize=T(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},L=function(e){l.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(S(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},R=function(){var e,t=0;for(L(t);l.some((function(e){return e.activeTargets.length>0}));)t=O(),L(t);return l.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)),t>0},z=[],N=function(e){if(!a){var t=0,n=document.createTextNode("");new MutationObserver((function(){return z.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),a=function(){n.textContent=""+(t?t--:t++)}}z.push(e),a()},j=0,C={attributes:!0,characterData:!0,childList:!0,subtree:!0},A=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],M=function(e){return void 0===e&&(e=0),Date.now()+e},B=!1,I=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!B){B=!0;var n,r=M(e);n=function(){var n=!1;try{n=R()}finally{if(B=!1,e=r-M(),!j)return;n?t.run(1e3):e>0?t.run(e):t.start()}},N((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,C)};document.body?t():p.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),A.forEach((function(t){return p.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),A.forEach((function(t){return p.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!j&&e>0&&I.start(),!(j+=e)&&I.stop()},D=function(){function t(t,n){this.target=t,this.observedBox=n||e.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return e=this.target,f(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},t}(),U=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},H=new WeakMap,F=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},W=function(){function e(){}return e.connect=function(e,t){var n=new U(e,t);H.set(e,n)},e.observe=function(e,t,n){var r=H.get(e),o=0===r.observationTargets.length;F(r.observationTargets,t)<0&&(o&&l.push(r),r.observationTargets.push(new D(t,n&&n.box)),P(1),I.schedule())},e.unobserve=function(e,t){var n=H.get(e),r=F(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&l.splice(l.indexOf(n),1),n.observationTargets.splice(r,1),P(-1))},e.disconnect=function(e){var t=this,n=H.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var Y=o()["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];var K=e=>{const n=t.useRef(e);return t.useEffect((()=>{n.current=e})),n},X=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};const q="undefined"!=typeof window&&"ResizeObserver"in window?window.ResizeObserver:V;function G(){}let J;const Z=()=>J||(J=function(){const e=new Map,t=new q(X(((t,n)=>{for(let r=0;r<t.length;r++){const o=e.get(t[r].target);null==o||o.forEach((e=>e(t[r],n)))}})));return{observer:t,subscribe(n,r){var o;t.observe(n);const i=null!==(o=e.get(n))&&void 0!==o?o:[];i.push(r),e.set(n,i)},unsubscribe(n,r){var o;const i=null!==(o=e.get(n))&&void 0!==o?o:[];if(1===i.length)return t.unobserve(n),void e.delete(n);const l=i.indexOf(r);-1!==l&&i.splice(l,1),e.set(n,i)}}}());var $=function(e,t){const n=Z(),r=K(t);return Y((()=>{let t=!1;const o=e&&"current"in e?e.current:e;if(!o)return G;function i(e,n){t||r.current(e,n)}return n.subscribe(o,i),()=>{t=!0,n.unsubscribe(o,i)}}),[e,n,r]),n.observer};var Q,ee,te;function ne(){return ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ne.apply(this,arguments)}var re=function(e){return t.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 24"},e),Q||(Q=t.createElement("radialGradient",{id:"kotlin-logo-large_svg__a",cx:22.432,cy:3.493,r:21.679,gradientTransform:"translate(-.19 .042) scale(.9998)",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:.003,stopColor:"#e44857"}),t.createElement("stop",{offset:.469,stopColor:"#c711e1"}),t.createElement("stop",{offset:1,stopColor:"#7f52ff"}))),ee||(ee=t.createElement("path",{fill:"url(#kotlin-logo-large_svg__a)",d:"M22.87 21.68H3.94V2.76h18.93l-9.66 9.32z"})),te||(te=t.createElement("g",{fill:"#fff"},t.createElement("path",{d:"M45.69 2.73h-3.76l-8.18 8.73v-8.7h-3.02v18.92h3.02v-9.17l8.21 9.17h3.89l-8.75-9.79z"}),t.createElement("path",{d:"M55.93 8.44c-1.07-.62-2.28-.93-3.64-.93-1.38 0-2.61.31-3.7.93a6.63 6.63 0 00-2.55 2.57c-.61 1.1-.91 2.35-.91 3.74 0 1.4.3 2.64.91 3.74a6.45 6.45 0 002.53 2.57c1.09.62 2.32.93 3.7.93 1.36 0 2.58-.31 3.66-.93a6.53 6.53 0 002.51-2.57c.6-1.1.9-2.35.9-3.74 0-1.4-.3-2.64-.9-3.74-.6-1.1-1.43-1.95-2.51-2.57zm-.19 8.7c-.33.69-.8 1.23-1.4 1.61-.6.39-1.3.58-2.08.58-.79 0-1.49-.19-2.11-.58-.61-.39-1.09-.93-1.43-1.61-.34-.69-.51-1.48-.51-2.38 0-.9.17-1.7.51-2.39.34-.69.82-1.23 1.43-1.61.61-.39 1.32-.58 2.12-.58.77 0 1.46.19 2.07.58.6.39 1.07.93 1.4 1.61.33.69.49 1.48.49 2.39.01.9-.15 1.69-.49 2.38zm9.75-12.76h-2.92v2.35c0 .37-.09.65-.27.83-.18.18-.46.28-.84.28h-1.43v2.49h2.49v7.45c0 .77.16 1.46.47 2.05.31.59.76 1.05 1.34 1.37.58.32 1.27.49 2.06.49h2.23V19.1h-1.68c-.43 0-.78-.15-1.06-.45-.27-.3-.4-.7-.4-1.2v-7.11h3.22v-2.5h-3.22V4.38zM71.03 2H74v19.68h-2.97zm6.32.03h3v3.05h-3zm0 5.81h2.97v13.84h-2.97zm18.08 2.28a4.694 4.694 0 00-1.77-1.92c-.76-.46-1.65-.69-2.67-.69-1.08 0-2.03.26-2.84.79-.65.42-1.17.98-1.58 1.68l-.02-2.14H83.7v13.84h2.97v-7.74c0-.75.14-1.41.43-1.99.28-.58.68-1.03 1.2-1.35.52-.32 1.12-.48 1.82-.48.62 0 1.16.13 1.6.39.45.26.78.64 1.01 1.12.23.49.34 1.07.34 1.74v8.31h2.97v-8.73c.02-1.07-.2-2.01-.61-2.83z"}))))},oe=n(4184),ie=n.n(oe),le=require("@rescui/typography");const se="https://kotlinlang.org";var ae=n(5893);const ue=e=>{let{productWebUrl:t,className:n}=e;const r=t?function(e){const t=/v?\d+\.\d+\.\d+$/.exec(e);return t?t[0]:null}(t):null,o=(0,le.useTextStyles)();return(0,ae.jsxs)("div",{className:ie()("ktl-logo-large-module_container_+5pgf",n,o("rs-text-3",{hardness:"average"})),children:[(0,ae.jsx)("a",{className:"ktl-logo-large-module_link_iZIEJ",href:se,"aria-label":"Kotlin Home Page",children:(0,ae.jsx)(re,{})}),r&&(0,ae.jsx)("a",{className:ie()("ktl-logo-large-module_version-tag_fiNIk"),href:t,target:"_blank",children:r})]})};const ce="Solutions",de="Multiplatform Mobile",fe="/lp/mobile/",he="Server-side",ve="/lp/server-side/",pe="Web frontend",me="/docs/js-overview.html",ge="Data science",be="/docs/data-science-overview.html",Ee="Android",_e="/docs/android-overview.html",we="Docs",ye="/docs/home.html",xe="Community",Te="/community/",ke="Teach",Se="/education/",Oe="Play",Le="Playground",Re="https://play.kotlinlang.org/",ze="".concat(Re,"hands-on"),Ne="Hands-on",je="".concat(Re,"byExample"),Ce="Examples",Ae="".concat(Re,"koans"),Me="Koans",Be="Kotlin",Ie="/docs/home.html",Pe="KMM",De="/docs/mobile/home.html",Ue=[{title:ce,url:null,items:[{title:de,url:fe},{title:he,url:ve},{title:pe,url:me},{title:ge,url:be},{title:Ee,url:_e}]},{title:we,url:Ie},{title:xe,url:Te},{title:ke,url:Se},{title:Oe,url:null,items:[{title:Le,url:Re},{title:Ne,url:ze},{title:Ce,url:je},{title:Me,url:Ae}]}];function He(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(e,t)=>e===t,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return Ue.map((r=>{var o;let{title:i,url:l,items:s}=r;l&&t&&(l=Fe(l,t,!!n));const a={title:i,url:l};let u=e(l,t);return a.items=null!==(o=null==s?void 0:s.map((r=>{let{title:o,url:i}=r;i&&t&&(i=Fe(i,t,!!n));let l=e(i,t);return l&&(u=l),{title:o,url:i,isActive:l}})))&&void 0!==o?o:[],a.isActive=u,a}))}function Fe(e,t,n){return n?e.startsWith(Re)?e.replace(Re,"/"):"".concat(se).concat(e):e}const We=e=>{let{items:t,isExpanded:n,alignRight:r,linkHandler:o}=e;const i=(0,le.useTextStyles)();return(0,ae.jsx)("ul",{className:ie()("ktl-horizontal-menu-module_dropdown-menu_dVOw-",i("rs-text-2"),{"ktl-horizontal-menu-module_dropdown-menu-expanded_L0RWy":n,"ktl-horizontal-menu-module_dropdown-menu-align-right_HS-oO":r}),children:t.map(((e,t)=>{const n=!e.isActive&&e.url?"a":"span";return(0,ae.jsx)("li",{children:(0,ae.jsx)(n,{className:ie()("ktl-horizontal-menu-module_dropdown-menu-item_wRlcN",{"ktl-horizontal-menu-module_active_azHwP":e.isActive}),...e.url?{href:e.url,onClick:o?t=>e.url&&o(t,e.url):void 0}:{},children:e.title})},t)}))})},Ve=e=>{var n,r;let{item:o,onMouseEnter:i,onMouseLeave:l,isExpanded:s,isLast:a,linkHandler:u}=e;const c=o.isActive||!o.url?"span":"a",d=(0,le.useTextStyles)();return(0,ae.jsxs)("li",{className:"ktl-horizontal-menu-module_menu-item-wrap_dnVf-",onMouseEnter:()=>i(o),onMouseLeave:l,children:[(0,t.createElement)(c,{...o.url?{href:o.url,onClick:u?e=>o.url&&u(e,o.url):void 0}:{},key:o.title,className:ie()("ktl-horizontal-menu-module_menu-item_Z+YKZ",d("rs-text-2"),{"ktl-horizontal-menu-module_item-active_+iyf-":o.isActive,"ktl-horizontal-menu-module_expanded_thibK":s&&!(null===(n=o.items)||void 0===n||!n.length)})},o.title),!(null===(r=o.items)||void 0===r||!r.length)&&(0,ae.jsx)(We,{items:o.items,isExpanded:s,alignRight:a,linkHandler:u})]})},Ye=e=>{let{items:n,theme:r,linkHandler:o}=e;const[i,l]=(0,t.useState)(-1),[s,a]=(0,t.useState)(i);(0,t.useEffect)((()=>{const e=setTimeout((()=>a(i)),-1!==i?200:400);return()=>clearTimeout(e)}),[i]);const u=e=>l(n.findIndex((t=>t===e))),c=()=>l(-1);return(0,ae.jsx)("nav",{className:ie()("ktl-horizontal-menu-module_nav_xYv4i",{"ktl-horizontal-menu-module_dark-theme_Lp065":"dark"===r}),children:(0,ae.jsx)("ul",{className:"ktl-horizontal-menu-module_menu-list_7oi3W",children:n.map(((e,t)=>(0,ae.jsx)(Ve,{item:e,onMouseEnter:u,onMouseLeave:c,isExpanded:t===s,isLast:t===n.length-1,linkHandler:o},t)))})})};var Ke;function Xe(){return Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xe.apply(this,arguments)}var qe=function(e){return t.createElement("svg",Xe({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},e),Ke||(Ke=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.847 6.861A6.99 6.99 0 009.587 3a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM14.587 10a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"currentColor"})))};const Ge=e=>{let{onClick:t,isActive:n}=e;return(0,ae.jsx)("button",{type:"button",className:ie()("ktl-search-button_button_JUyxv",{"ktl-search-button_active_G-dk1":n}),"aria-label":"Search",onClick:t,children:(0,ae.jsx)(qe,{})})};var Je;function Ze(){return Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ze.apply(this,arguments)}var $e,Qe=function(e){return t.createElement("svg",Ze({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Je||(Je=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5h16v2H4V5zm0 6h16v2H4v-2zm16 6H4v2h16v-2z",fill:"currentColor"})))};function et(){return et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},et.apply(this,arguments)}var tt=function(e){return t.createElement("svg",et({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$e||($e=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.707 1.707L14.293.293 8 6.586 1.707.293.293 1.707 6.586 8 .293 14.293l1.414 1.414L8 9.414l6.293 6.293 1.414-1.414L9.414 8l6.293-6.293z",fill:"currentColor"})))};const nt=e=>{let{onClick:t,isExpanded:n}=e;return(0,ae.jsx)("button",{type:"button",className:ie()("ktl-menu-button_button_InVin"),"aria-haspopup":"true","aria-label":"Open the navigation",onClick:t,children:n?(0,ae.jsx)(tt,{}):(0,ae.jsx)(Qe,{})})};function rt(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var ot=!1;if("undefined"!=typeof window){var it={get passive(){ot=!0}};window.addEventListener("testPassive",null,it),window.removeEventListener("testPassive",null,it)}var lt="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),st=[],at=!1,ut=-1,ct=void 0,dt=void 0,ft=function(e){return st.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},ht=function(e){var t=e||window.event;return!!ft(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},vt=function(){setTimeout((function(){void 0!==dt&&(document.body.style.paddingRight=dt,dt=void 0),void 0!==ct&&(document.body.style.overflow=ct,ct=void 0)}))},pt=function(e,t){if(lt){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!st.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};st=[].concat(rt(st),[n]),e.ontouchstart=function(e){1===e.targetTouches.length&&(ut=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-ut;!ft(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?ht(e):e.stopPropagation())}(t,e)},at||(document.addEventListener("touchmove",ht,ot?{passive:!1}:void 0),at=!0)}}else{!function(e){if(void 0===dt){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(dt=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===ct&&(ct=document.body.style.overflow,setTimeout((function(){document.body.style.overflow="hidden"})))}(t);var r={targetElement:e,options:t||{}};st=[].concat(rt(st),[r])}};const mt=e=>{let{item:n,level:r,linkHandler:o}=e;const i=n.url?"a":"span",l={"--level":r},s=(0,t.useCallback)((e=>o&&n.url&&o(e,n.url)),[]);return(0,ae.jsx)(i,{...n.url?{href:n.url,onClick:s}:{},className:ie()("ktl-menu-popup-module_menu-item_f6wvh",{"ktl-menu-popup-module_menu-item-root_C-hkN":0===r,"ktl-menu-popup-module_active_DrZav":n.isActive,"ktl-menu-popup-module_active-with-child_BDnrW":n.items&&n.items.length}),style:l,children:n.title})},gt=e=>{let{items:n,level:r,linkHandler:o}=e;return(0,ae.jsx)(ae.Fragment,{children:n.map(((e,n)=>(0,ae.jsxs)(t.Fragment,{children:[(0,ae.jsx)(mt,{item:e,level:r,linkHandler:o}),e.items&&e.items.length>0&&(0,ae.jsx)(gt,{items:e.items,level:r+1,linkHandler:o})]},n)))})},bt=e=>{let{items:n,isExpanded:r,setExpand:o,headerRef:i,linkHandler:l}=e;const s=(0,t.useRef)(null),a=(0,le.useTextStyles)(),[u,c]=(0,t.useState)({});(0,t.useEffect)((()=>()=>{o(!1),lt?(st.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),at&&(document.removeEventListener("touchmove",ht,ot?{passive:!1}:void 0),at=!1),st=[],ut=-1):(vt(),st=[])}),[]),(0,t.useLayoutEffect)((()=>{i.current&&c({top:i.current.getBoundingClientRect().bottom})}),[r,i]);const d=(0,t.useCallback)((()=>{s.current&&(r?function(e){if(lt){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,st=st.filter((function(t){return t.targetElement!==e})),at&&0===st.length&&(document.removeEventListener("touchmove",ht,ot?{passive:!1}:void 0),at=!1)}else(st=st.filter((function(t){return t.targetElement!==e}))).length||vt()}(s.current):pt(s.current)),o(!r)}),[r,s]);return(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)(nt,{onClick:d,isExpanded:r}),(0,ae.jsx)("nav",{style:u,ref:s,className:ie()("ktl-menu-popup-module_menu-popup_Yqtnq",a("rs-text-2"),{"ktl-menu-popup-module_menu-popup-expanded_FlujR":r}),children:(0,ae.jsx)(gt,{items:n,level:0,linkHandler:l})})]})};var Et,_t;function wt(){return wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wt.apply(this,arguments)}var yt=function(e){return t.createElement("svg",wt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),Et||(Et=t.createElement("radialGradient",{id:"kotlin-logo-small_svg__a",cx:22.432,cy:3.493,r:21.679,gradientTransform:"translate(-.19 .042) scale(.9998)",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:.003,stopColor:"#e44857"}),t.createElement("stop",{offset:.469,stopColor:"#c711e1"}),t.createElement("stop",{offset:1,stopColor:"#7f52ff"}))),_t||(_t=t.createElement("path",{fill:"url(#kotlin-logo-small_svg__a)",d:"M22.87 21.68H3.94V2.76h18.93l-9.66 9.32z"})))};const xt=e=>{let{homeTitle:t,homeUrl:n,className:r}=e;const o=(0,le.useTextStyles)();return(0,ae.jsxs)("div",{className:ie()("ktl-logo-small-module_logo-small_7ddNl",r),children:[(0,ae.jsx)("a",{href:se,className:"ktl-logo-small-module_icon-wrap_BFVBd",children:(0,ae.jsx)(yt,{className:"ktl-logo-small-module_icon_JM+yC"})}),(0,ae.jsx)("a",{href:n,className:ie()("ktl-logo-small-module_link_6gruv",o("rs-h3")),children:t})]})},Tt=(0,t.forwardRef)(((e,n)=>{let{productWebUrl:r,hasSearch:o=!1,onSearchClick:l,currentUrl:s,currentTitle:a,className:u,hasBorder:c=!0,dropdownTheme:d="dark",linkHandler:f,isPlayground:h,isUrlActive:v}=e;const[p,m]=(0,t.useState)(!1),[g,b]=(0,t.useState)(!1),E=(0,t.useMemo)((()=>He(v,s,h)),[v,s,h]),_=(0,t.useRef)(null);return(0,t.useImperativeHandle)(n,(()=>_.current)),(0,t.useLayoutEffect)((()=>{var e,t,n;b((null!==(e=null===(t=_.current)||void 0===t||null===(n=t.getBoundingClientRect)||void 0===n?void 0:n.call(t).width)&&void 0!==e?e:0)<=640)}),[_]),$(_,(e=>b(e.contentRect.width<=640))),(0,ae.jsx)(i.ThemeProvider,{theme:"dark",children:(0,ae.jsxs)("header",{ref:_,className:ie()("ktl-header-module_header-menu_E3vzo",u,{"ktl-header-module_with-menu-popup_DcoOT":p,"ktl-header-module_border_smGpe":c}),children:[g&&a&&s&&!p?(0,ae.jsx)(xt,{homeTitle:a,homeUrl:s}):(0,ae.jsx)(ue,{productWebUrl:r}),!g&&(0,ae.jsx)(Ye,{items:E,theme:d,linkHandler:f}),(0,ae.jsx)(Ge,{onClick:l,isActive:o&&!!l}),g&&(0,ae.jsx)(bt,{items:E,setExpand:m,isExpanded:p,headerRef:_,linkHandler:f})]})})}));var kt=Tt}(),module.exports=r}();
|
|
2
|
+
!function(){var e={4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var l=o.apply(null,n);l&&e.push(l)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},5251:function(e,t,n){"use strict";var r=n(8955),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,n){var r,i={},a=null,c=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!u.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:a,ref:c,props:i,_owner:l.current}}t.jsx=a,t.jsxs=a},5893:function(e,t,n){"use strict";e.exports=n(5251)},8955:function(e){"use strict";e.exports=require("react")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){"use strict";n.r(r),n.d(r,{ANDROID_TITLE:function(){return we},ANDROID_URL:function(){return xe},COMMUNITY_TITLE:function(){return Oe},COMMUNITY_URL:function(){return Se},DATA_SCIENCE_TITLE:function(){return be},DATA_SCIENCE_URL:function(){return Ee},DOCS_TITLE:function(){return ye},DOCS_URL:function(){return Te},KMM_DOCS_TITLE:function(){return De},KMM_DOCS_URL:function(){return He},KOTLIN_DOCS_TITLE:function(){return Pe},KOTLIN_DOCS_URL:function(){return Ue},MULTIPLATFORM_MOBILE_TITLE:function(){return de},MULTIPLATFORM_MOBILE_URL:function(){return fe},MULTIPLATFORM_OTHERS_TITLE:function(){return ge},MULTIPLATFORM_OTHERS_URL:function(){return _e},PLAY_EXAMPLES_TITLE:function(){return Ae},PLAY_EXAMPLES_URL:function(){return Me},PLAY_HANDSON_TITLE:function(){return Ce},PLAY_HANDSON_URL:function(){return je},PLAY_KOANS_TITLE:function(){return Ie},PLAY_KOANS_URL:function(){return Be},PLAY_TITLE:function(){return Re},PLAY_TITLE_FULL:function(){return ze},PLAY_URL:function(){return Ne},SERVER_SIDE_TITLE:function(){return he},SERVER_SIDE_URL:function(){return ve},SOLUTIONS_TITLE:function(){return ce},TEACH_TITLE:function(){return ke},TEACH_URL:function(){return Le},WEB_FRONTEND_TITLE:function(){return pe},WEB_FRONTEND_URL:function(){return me},default:function(){return St},getNavScheme:function(){return We}});var e,t=n(8955),o=n.n(t),i=require("@rescui/ui-contexts"),l=[],s="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(e||(e={}));var u,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},d=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},h=function(e){if(f(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,l=o.offsetHeight;return!(i||l||e.getClientRects().length)},v=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},p="undefined"!=typeof window?window:{},m=new WeakMap,g=/auto|scroll/,_=/^tb|vertical/,b=/msie|trident/i.test(p.navigator&&p.navigator.userAgent),E=function(e){return parseFloat(e||"0")},w=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:w(),borderBoxSize:w(),contentBoxSize:w(),contentRect:new d(0,0,0,0)}),y=function(e,t){if(void 0===t&&(t=!1),m.has(e)&&!t)return m.get(e);if(h(e))return m.set(e,x),x;var n=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),o=!b&&"border-box"===n.boxSizing,i=_.test(n.writingMode||""),l=!r&&g.test(n.overflowY||""),s=!r&&g.test(n.overflowX||""),u=r?0:E(n.paddingTop),c=r?0:E(n.paddingRight),v=r?0:E(n.paddingBottom),p=r?0:E(n.paddingLeft),y=r?0:E(n.borderTopWidth),T=r?0:E(n.borderRightWidth),O=r?0:E(n.borderBottomWidth),S=p+c,k=u+v,L=(r?0:E(n.borderLeftWidth))+T,R=y+O,z=s?e.offsetHeight-R-e.clientHeight:0,N=l?e.offsetWidth-L-e.clientWidth:0,j=o?S+L:0,C=o?k+R:0,M=r?r.width:E(n.width)-j-N,A=r?r.height:E(n.height)-C-z,B=M+S+N+L,I=A+k+z+R,P=a({devicePixelContentBoxSize:w(Math.round(M*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:w(B,I,i),contentBoxSize:w(M,A,i),contentRect:new d(p,u,M,A)});return m.set(e,P),P},T=function(t,n,r){var o=y(t,r),i=o.borderBoxSize,l=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(n){case e.DEVICE_PIXEL_CONTENT_BOX:return s;case e.BORDER_BOX:return i;default:return l}},O=function(e){var t=y(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},S=function(e){if(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},k=function(){var e=1/0,t=[];l.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new O(t.target),o=S(t.target);r.push(n),t.lastReportedSize=T(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},L=function(e){l.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(S(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},R=function(){var e,t=0;for(L(t);l.some((function(e){return e.activeTargets.length>0}));)t=k(),L(t);return l.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)),t>0},z=[],N=function(e){if(!u){var t=0,n=document.createTextNode("");new MutationObserver((function(){return z.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),u=function(){n.textContent=""+(t?t--:t++)}}z.push(e),u()},j=0,C={attributes:!0,characterData:!0,childList:!0,subtree:!0},M=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],A=function(e){return void 0===e&&(e=0),Date.now()+e},B=!1,I=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!B){B=!0;var n,r=A(e);n=function(){var n=!1;try{n=R()}finally{if(B=!1,e=r-A(),!j)return;n?t.run(1e3):e>0?t.run(e):t.start()}},N((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,C)};document.body?t():p.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),M.forEach((function(t){return p.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),M.forEach((function(t){return p.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),P=function(e){!j&&e>0&&I.start(),!(j+=e)&&I.stop()},U=function(){function t(t,n){this.target=t,this.observedBox=n||e.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return e=this.target,f(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},t}(),D=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},H=new WeakMap,F=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},W=function(){function e(){}return e.connect=function(e,t){var n=new D(e,t);H.set(e,n)},e.observe=function(e,t,n){var r=H.get(e),o=0===r.observationTargets.length;F(r.observationTargets,t)<0&&(o&&l.push(r),r.observationTargets.push(new U(t,n&&n.box)),P(1),I.schedule())},e.unobserve=function(e,t){var n=H.get(e),r=F(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&l.splice(l.indexOf(n),1),n.observationTargets.splice(r,1),P(-1))},e.disconnect=function(e){var t=this,n=H.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),V=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();var Y=o()["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];var X=e=>{const n=t.useRef(e);return t.useEffect((()=>{n.current=e})),n},K=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};const q="undefined"!=typeof window&&"ResizeObserver"in window?window.ResizeObserver:V;function G(){}let $;const J=()=>$||($=function(){const e=new Map,t=new q(K(((t,n)=>{for(let r=0;r<t.length;r++){const o=e.get(t[r].target);null==o||o.forEach((e=>e(t[r],n)))}})));return{observer:t,subscribe(n,r){var o;t.observe(n);const i=null!==(o=e.get(n))&&void 0!==o?o:[];i.push(r),e.set(n,i)},unsubscribe(n,r){var o;const i=null!==(o=e.get(n))&&void 0!==o?o:[];if(1===i.length)return t.unobserve(n),void e.delete(n);const l=i.indexOf(r);-1!==l&&i.splice(l,1),e.set(n,i)}}}());var Q=function(e,t){const n=J(),r=X(t);return Y((()=>{let t=!1;const o=e&&"current"in e?e.current:e;if(!o)return G;function i(e,n){t||r.current(e,n)}return n.subscribe(o,i),()=>{t=!0,n.unsubscribe(o,i)}}),[e,n,r]),n.observer};var Z,ee,te;function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var re=function(e){return t.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 24"},e),Z||(Z=t.createElement("radialGradient",{id:"kotlin-logo-large_svg__a",cx:22.432,cy:3.493,r:21.679,gradientTransform:"translate(-.19 .042) scale(.9998)",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:.003,stopColor:"#e44857"}),t.createElement("stop",{offset:.469,stopColor:"#c711e1"}),t.createElement("stop",{offset:1,stopColor:"#7f52ff"}))),ee||(ee=t.createElement("path",{fill:"url(#kotlin-logo-large_svg__a)",d:"M22.87 21.68H3.94V2.76h18.93l-9.66 9.32z"})),te||(te=t.createElement("g",{fill:"#fff"},t.createElement("path",{d:"M45.69 2.73h-3.76l-8.18 8.73v-8.7h-3.02v18.92h3.02v-9.17l8.21 9.17h3.89l-8.75-9.79z"}),t.createElement("path",{d:"M55.93 8.44c-1.07-.62-2.28-.93-3.64-.93-1.38 0-2.61.31-3.7.93a6.63 6.63 0 00-2.55 2.57c-.61 1.1-.91 2.35-.91 3.74 0 1.4.3 2.64.91 3.74a6.45 6.45 0 002.53 2.57c1.09.62 2.32.93 3.7.93 1.36 0 2.58-.31 3.66-.93a6.53 6.53 0 002.51-2.57c.6-1.1.9-2.35.9-3.74 0-1.4-.3-2.64-.9-3.74-.6-1.1-1.43-1.95-2.51-2.57zm-.19 8.7c-.33.69-.8 1.23-1.4 1.61-.6.39-1.3.58-2.08.58-.79 0-1.49-.19-2.11-.58-.61-.39-1.09-.93-1.43-1.61-.34-.69-.51-1.48-.51-2.38 0-.9.17-1.7.51-2.39.34-.69.82-1.23 1.43-1.61.61-.39 1.32-.58 2.12-.58.77 0 1.46.19 2.07.58.6.39 1.07.93 1.4 1.61.33.69.49 1.48.49 2.39.01.9-.15 1.69-.49 2.38zm9.75-12.76h-2.92v2.35c0 .37-.09.65-.27.83-.18.18-.46.28-.84.28h-1.43v2.49h2.49v7.45c0 .77.16 1.46.47 2.05.31.59.76 1.05 1.34 1.37.58.32 1.27.49 2.06.49h2.23V19.1h-1.68c-.43 0-.78-.15-1.06-.45-.27-.3-.4-.7-.4-1.2v-7.11h3.22v-2.5h-3.22V4.38zM71.03 2H74v19.68h-2.97zm6.32.03h3v3.05h-3zm0 5.81h2.97v13.84h-2.97zm18.08 2.28a4.694 4.694 0 00-1.77-1.92c-.76-.46-1.65-.69-2.67-.69-1.08 0-2.03.26-2.84.79-.65.42-1.17.98-1.58 1.68l-.02-2.14H83.7v13.84h2.97v-7.74c0-.75.14-1.41.43-1.99.28-.58.68-1.03 1.2-1.35.52-.32 1.12-.48 1.82-.48.62 0 1.16.13 1.6.39.45.26.78.64 1.01 1.12.23.49.34 1.07.34 1.74v8.31h2.97v-8.73c.02-1.07-.2-2.01-.61-2.83z"}))))},oe=n(4184),ie=n.n(oe),le=require("@rescui/typography");const se="https://kotlinlang.org";var ue=n(5893);const ae=({productWebUrl:e,className:t})=>{const n=e?function(e){const t=/v?\d+\.\d+\.\d+$/.exec(e);return t?t[0]:null}(e):null,r=(0,le.useTextStyles)();return(0,ue.jsxs)("div",{className:ie()("ktl-logo-large-module_container_2BfGV",t,r("rs-text-3",{hardness:"average"})),children:[(0,ue.jsx)("a",{className:"ktl-logo-large-module_link_2HVM-",href:se,"aria-label":"Kotlin Home Page",children:(0,ue.jsx)(re,{})}),n&&(0,ue.jsx)("a",{className:ie()("ktl-logo-large-module_version-tag_4KEoG"),href:e,target:"_blank",children:n})]})};const ce="Solutions",de="Multiplatform Mobile",fe="/lp/mobile/",he="Server-side",ve="/lp/server-side/",pe="Web frontend",me="/docs/js-overview.html",ge="Multiplatform for other platforms",_e="/docs/multiplatform.html",be="Data science",Ee="/docs/data-science-overview.html",we="Android",xe="/docs/android-overview.html",ye="Docs",Te="/docs/home.html",Oe="Community",Se="/community/",ke="Teach",Le="/education/",Re="Play",ze="Playground",Ne="https://play.kotlinlang.org/",je=`${Ne}hands-on`,Ce="Hands-on",Me=`${Ne}byExample`,Ae="Examples",Be=`${Ne}koans`,Ie="Koans",Pe="Kotlin",Ue="/docs/home.html",De="KMM",He="/docs/mobile/home.html",Fe=[{title:ce,url:null,items:[{title:de,url:fe},{title:he,url:ve},{title:pe,url:me},{title:ge,url:_e},{title:be,url:Ee},{title:we,url:xe}]},{title:ye,url:Ue},{title:Oe,url:Se},{title:ke,url:Le},{title:Re,url:null,items:[{title:ze,url:Ne},{title:Ce,url:je},{title:Ae,url:Me},{title:Ie,url:Be}]}];function We(e=((e,t)=>e===t),t,n){return Fe.map((({title:r,url:o,items:i})=>{var l;o&&t&&(o=Ve(o,t,!!n));const s={title:r,url:o};let u=e(o,t);return s.items=null!==(l=null==i?void 0:i.map((({title:r,url:o})=>{o&&t&&(o=Ve(o,t,!!n));let i=e(o,t);return i&&(u=i),{title:r,url:o,isActive:i}})))&&void 0!==l?l:[],s.isActive=u,s}))}function Ve(e,t,n){return n?e.startsWith(Ne)?e.replace(Ne,"/"):`${se}${e}`:e}const Ye=({items:e,isExpanded:t,alignRight:n,linkHandler:r})=>{const o=(0,le.useTextStyles)();return(0,ue.jsx)("ul",{className:ie()("ktl-horizontal-menu-module_dropdown-menu_YC90K",o("rs-text-2"),{"ktl-horizontal-menu-module_dropdown-menu-expanded_3s42o":t,"ktl-horizontal-menu-module_dropdown-menu-align-right_2u7Cp":n}),children:e.map(((e,t)=>{const n=!e.isActive&&e.url?"a":"span";return(0,ue.jsx)("li",{children:(0,ue.jsx)(n,{className:ie()("ktl-horizontal-menu-module_dropdown-menu-item_3DA-o",{"ktl-horizontal-menu-module_active_ZEjqF":e.isActive}),...e.url?{href:e.url,onClick:r?t=>e.url&&r(t,e.url):void 0}:{},children:e.title})},t)}))})},Xe=({item:e,onMouseEnter:n,onMouseLeave:r,isExpanded:o,isLast:i,linkHandler:l})=>{var s,u;const a=e.isActive||!e.url?"span":"a",c=(0,le.useTextStyles)();return(0,ue.jsxs)("li",{className:"ktl-horizontal-menu-module_menu-item-wrap_1iQfh",onMouseEnter:()=>n(e),onMouseLeave:r,children:[(0,t.createElement)(a,{...e.url?{href:e.url,onClick:l?t=>e.url&&l(t,e.url):void 0}:{},key:e.title,className:ie()("ktl-horizontal-menu-module_menu-item_1GBle",c("rs-text-2"),{"ktl-horizontal-menu-module_item-active_1JHeo":e.isActive,"ktl-horizontal-menu-module_expanded_3BdiD":o&&!(null===(s=e.items)||void 0===s||!s.length)})},e.title),!(null===(u=e.items)||void 0===u||!u.length)&&(0,ue.jsx)(Ye,{items:e.items,isExpanded:o,alignRight:i,linkHandler:l})]})},Ke=({items:e,theme:n,linkHandler:r})=>{const[o,i]=(0,t.useState)(-1),[l,s]=(0,t.useState)(o);(0,t.useEffect)((()=>{const e=setTimeout((()=>s(o)),-1!==o?200:400);return()=>clearTimeout(e)}),[o]);const u=t=>i(e.findIndex((e=>e===t))),a=()=>i(-1);return(0,ue.jsx)("nav",{className:ie()("ktl-horizontal-menu-module_nav_19XiR",{"ktl-horizontal-menu-module_dark-theme_3x53H":"dark"===n}),children:(0,ue.jsx)("ul",{className:"ktl-horizontal-menu-module_menu-list_3f1cp",children:e.map(((t,n)=>(0,ue.jsx)(Xe,{item:t,onMouseEnter:u,onMouseLeave:a,isExpanded:n===l,isLast:n===e.length-1,linkHandler:r},n)))})})};var qe;function Ge(){return(Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var $e=function(e){return t.createElement("svg",Ge({width:24,height:24,xmlns:"http://www.w3.org/2000/svg"},e),qe||(qe=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.847 6.861A6.99 6.99 0 009.587 3a6.997 6.997 0 104.186 12.601l6.106 6.106 1.414-1.414-6.107-6.106a6.99 6.99 0 00.66-7.326zM14.587 10a5 5 0 11-10.001 0 5 5 0 0110 0z",fill:"currentColor"})))};const Je=({onClick:e,isActive:t})=>(0,ue.jsx)("button",{type:"button",className:ie()("ktl-search-button_button_2B8BX",{"ktl-search-button_active_2TUDV":t}),"aria-label":"Search",onClick:e,children:(0,ue.jsx)($e,{})});var Qe;function Ze(){return(Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var et,tt=function(e){return t.createElement("svg",Ze({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Qe||(Qe=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5h16v2H4V5zm0 6h16v2H4v-2zm16 6H4v2h16v-2z",fill:"currentColor"})))};function nt(){return(nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var rt=function(e){return t.createElement("svg",nt({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),et||(et=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.707 1.707L14.293.293 8 6.586 1.707.293.293 1.707 6.586 8 .293 14.293l1.414 1.414L8 9.414l6.293 6.293 1.414-1.414L9.414 8l6.293-6.293z",fill:"currentColor"})))};const ot=({onClick:e,isExpanded:t})=>(0,ue.jsx)("button",{type:"button",className:ie()("ktl-menu-button_button_olcOe"),"aria-haspopup":"true","aria-label":"Open the navigation",onClick:e,children:t?(0,ue.jsx)(rt,{}):(0,ue.jsx)(tt,{})});function it(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var lt=!1;if("undefined"!=typeof window){var st={get passive(){lt=!0}};window.addEventListener("testPassive",null,st),window.removeEventListener("testPassive",null,st)}var ut="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),at=[],ct=!1,dt=-1,ft=void 0,ht=void 0,vt=function(e){return at.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},pt=function(e){var t=e||window.event;return!!vt(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},mt=function(){setTimeout((function(){void 0!==ht&&(document.body.style.paddingRight=ht,ht=void 0),void 0!==ft&&(document.body.style.overflow=ft,ft=void 0)}))},gt=function(e,t){if(ut){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!at.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};at=[].concat(it(at),[n]),e.ontouchstart=function(e){1===e.targetTouches.length&&(dt=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-dt;!vt(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?pt(e):e.stopPropagation())}(t,e)},ct||(document.addEventListener("touchmove",pt,lt?{passive:!1}:void 0),ct=!0)}}else{!function(e){if(void 0===ht){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(ht=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===ft&&(ft=document.body.style.overflow,setTimeout((function(){document.body.style.overflow="hidden"})))}(t);var r={targetElement:e,options:t||{}};at=[].concat(it(at),[r])}};const _t=({item:e,level:n,linkHandler:r})=>{const o=e.url?"a":"span",i={"--level":n},l=(0,t.useCallback)((t=>r&&e.url&&r(t,e.url)),[]);return(0,ue.jsx)(o,{...e.url?{href:e.url,onClick:l}:{},className:ie()("ktl-menu-popup-module_menu-item_1F_5T",{"ktl-menu-popup-module_menu-item-root_3IeHg":0===n,"ktl-menu-popup-module_active_oy808":e.isActive,"ktl-menu-popup-module_active-with-child_1hc8s":e.items&&e.items.length}),style:i,children:e.title})},bt=({items:e,level:n,linkHandler:r})=>(0,ue.jsx)(ue.Fragment,{children:e.map(((e,o)=>(0,ue.jsxs)(t.Fragment,{children:[(0,ue.jsx)(_t,{item:e,level:n,linkHandler:r}),e.items&&e.items.length>0&&(0,ue.jsx)(bt,{items:e.items,level:n+1,linkHandler:r})]},o)))}),Et=({items:e,isExpanded:n,setExpand:r,headerRef:o,linkHandler:i})=>{const l=(0,t.useRef)(null),s=(0,le.useTextStyles)(),[u,a]=(0,t.useState)({});(0,t.useEffect)((()=>()=>{r(!1),ut?(at.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),ct&&(document.removeEventListener("touchmove",pt,lt?{passive:!1}:void 0),ct=!1),at=[],dt=-1):(mt(),at=[])}),[]),(0,t.useLayoutEffect)((()=>{o.current&&a({top:o.current.getBoundingClientRect().bottom})}),[n,o]);const c=(0,t.useCallback)((()=>{l.current&&(n?function(e){if(ut){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,at=at.filter((function(t){return t.targetElement!==e})),ct&&0===at.length&&(document.removeEventListener("touchmove",pt,lt?{passive:!1}:void 0),ct=!1)}else(at=at.filter((function(t){return t.targetElement!==e}))).length||mt()}(l.current):gt(l.current)),r(!n)}),[n,l]);return(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsx)(ot,{onClick:c,isExpanded:n}),(0,ue.jsx)("nav",{style:u,ref:l,className:ie()("ktl-menu-popup-module_menu-popup_2xTwR",s("rs-text-2"),{"ktl-menu-popup-module_menu-popup-expanded_1OBoJ":n}),children:(0,ue.jsx)(bt,{items:e,level:0,linkHandler:i})})]})};var wt,xt;function yt(){return(yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Tt=function(e){return t.createElement("svg",yt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),wt||(wt=t.createElement("radialGradient",{id:"kotlin-logo-small_svg__a",cx:22.432,cy:3.493,r:21.679,gradientTransform:"translate(-.19 .042) scale(.9998)",gradientUnits:"userSpaceOnUse"},t.createElement("stop",{offset:.003,stopColor:"#e44857"}),t.createElement("stop",{offset:.469,stopColor:"#c711e1"}),t.createElement("stop",{offset:1,stopColor:"#7f52ff"}))),xt||(xt=t.createElement("path",{fill:"url(#kotlin-logo-small_svg__a)",d:"M22.87 21.68H3.94V2.76h18.93l-9.66 9.32z"})))};const Ot=({homeTitle:e,homeUrl:t,className:n})=>{const r=(0,le.useTextStyles)();return(0,ue.jsxs)("div",{className:ie()("ktl-logo-small-module_logo-small_qYr7I",n),children:[(0,ue.jsx)("a",{href:se,className:"ktl-logo-small-module_icon-wrap_3Osc0",children:(0,ue.jsx)(Tt,{className:"ktl-logo-small-module_icon_3SINU"})}),(0,ue.jsx)("a",{href:t,className:ie()("ktl-logo-small-module_link__2NeW",r("rs-h3")),children:e})]})};var St=(0,t.forwardRef)((({productWebUrl:e,hasSearch:n=!1,onSearchClick:r,currentUrl:o,currentTitle:l,className:s,hasBorder:u=!0,dropdownTheme:a="dark",linkHandler:c,isPlayground:d,isUrlActive:f},h)=>{const[v,p]=(0,t.useState)(!1),[m,g]=(0,t.useState)(!1),_=(0,t.useMemo)((()=>We(f,o,d)),[f,o,d]),b=(0,t.useRef)(null);return(0,t.useImperativeHandle)(h,(()=>b.current)),(0,t.useLayoutEffect)((()=>{var e,t,n;g((null!==(e=null===(t=b.current)||void 0===t||null===(n=t.getBoundingClientRect)||void 0===n?void 0:n.call(t).width)&&void 0!==e?e:0)<=640)}),[b]),Q(b,(e=>g(e.contentRect.width<=640))),(0,ue.jsx)(i.ThemeProvider,{theme:"dark",children:(0,ue.jsxs)("header",{ref:b,className:ie()("ktl-header-module_header-menu_3q6JB",s,{"ktl-header-module_with-menu-popup_191Ak":v,"ktl-header-module_border_3kxUB":u}),children:[m&&l&&o&&!v?(0,ue.jsx)(Ot,{homeTitle:l,homeUrl:o}):(0,ue.jsx)(ae,{productWebUrl:e}),!m&&(0,ue.jsx)(Ke,{items:_,theme:a,linkHandler:c}),(0,ue.jsx)(Je,{onClick:r,isActive:n&&!!r}),m&&(0,ue.jsx)(Et,{items:_,setExpand:p,isExpanded:v,headerRef:b,linkHandler:c})]})})}))}(),module.exports=r}();
|
|
3
3
|
//# sourceMappingURL=header.js.map
|