10 lines
190 KiB
JavaScript
10 lines
190 KiB
JavaScript
|
|
/*!
|
||
|
|
* This source file is part of the Swift.org open source project
|
||
|
|
*
|
||
|
|
* Copyright (c) 2021 Apple Inc. and the Swift project authors
|
||
|
|
* Licensed under Apache License v2.0 with Runtime Library Exception
|
||
|
|
*
|
||
|
|
* See https://swift.org/LICENSE.txt for license information
|
||
|
|
* See https://swift.org/CONTRIBUTORS.txt for Swift project authors
|
||
|
|
*/
|
||
|
|
(self["webpackChunkswift_docc_render"]=self["webpackChunkswift_docc_render"]||[]).push([[482,633],{531:function(e,t,n){"use strict";var i=n(6518),a=n(9565),s=n(9306),r=n(8551),o=n(1767),l=n(8646),c=n(9462),d=n(9539),u=n(6395),h=n(684),p=n(4549),g=!u&&!h("flatMap",function(){}),f=!u&&!g&&p("flatMap",TypeError),m=u||g||f,y=c(function(){var e,t,n=this.iterator,i=this.mapper;while(1){if(t=this.inner)try{if(e=r(a(t.next,t.iterator)),!e.done)return e.value;this.inner=null}catch(s){d(n,"throw",s)}if(e=r(a(this.next,n)),this.done=!!e.done)return;try{this.inner=l(i(e.value,this.counter++),!1)}catch(s){d(n,"throw",s)}}});i({target:"Iterator",proto:!0,real:!0,forced:m},{flatMap:function(e){r(this);try{s(e)}catch(t){d(this,"throw",t)}return f?a(f,this,e):new y(o(this),{mapper:e,inner:null})}})},2223:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var i=function(){var e=this,t=e._self._c;return t("SVGIcon",{staticClass:"inline-close-icon",attrs:{viewBox:"0 0 14 14",themeId:"inline-close"}},[t("path",{attrs:{d:"M11.91 1l1.090 1.090-4.917 4.915 4.906 4.905-1.090 1.090-4.906-4.905-4.892 4.894-1.090-1.090 4.892-4.894-4.903-4.904 1.090-1.090 4.903 4.904z"}})])},a=[],s=n(6515),r={name:"InlineCloseIcon",components:{SVGIcon:s.A}},o=r,l=n(1656),c=(0,l.A)(o,i,a,!1,null,null,null),d=c.exports},6088:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var i,a,s={name:"TransitionExpand",functional:!0,render(e,t){const n={props:{name:"expand"},on:{afterEnter(e){e.style.height="auto"},enter(e){const{width:t}=getComputedStyle(e);e.style.width=t,e.style.position="absolute",e.style.visibility="hidden",e.style.height="auto";const{height:n}=getComputedStyle(e);e.style.width=null,e.style.position=null,e.style.visibility=null,e.style.height=0,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=n})},leave(e){const{height:t}=getComputedStyle(e);e.style.height=t,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=0})}}};return e("transition",n,t.children)}},r=s,o=n(1656),l=(0,o.A)(r,i,a,!1,null,null,null),c=l.exports},6302:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Th}});var i=function(){var e=this,t=e._self._c;return t("CodeTheme",[e.topicData?t("DocumentationLayout",e._b({scopedSlots:e._u([{key:"nav-title",fn:function({className:n}){return[t(e.rootLink?"router-link":"h2",{tag:"component",class:n,attrs:{to:e.rootLink}},[e._v(" "+e._s(e.$t("documentation.title"))+" ")])]}},{key:"content",fn:function(){return[t("Topic",e._b({key:e.topicKey,attrs:{disableHeroBackground:e.disableHeroBackground,objcPath:e.objcPath,swiftPath:e.swiftPath,isSymbolDeprecated:e.isSymbolDeprecated,isSymbolBeta:e.isSymbolBeta,languagePaths:e.languagePaths,enableOnThisPageNav:e.enableOnThisPageNav,enableMinimized:e.enableMinimized,hierarchyItems:e.hierarchyItems}},"Topic",e.topicProps,!1))]},proxy:!0}],null,!1,402783128)},"DocumentationLayout",e.documentationLayoutProps,!1)):e._e()],1)},a=[];n(8111),n(1148),n(116),n(8237),n(3579);const s="/";function r(e){return e.replace(/~[0,1]/g,e=>({"~0":"~","~1":"/"}[e]||e))}function*o(e){const t=1;if(e.length<t||e.charAt(0)!==s)return;let n="",i=t;while(i<e.length){const t=e.charAt(i);t===s?(yield r(n),n=""):n+=t,i+=1}yield r(n)}const l=10,c="-",d="object";class u extends Error{constructor(e){super(`invalid pointer ${e}`),this.pointer=e}}function h(e,{length:t}){if(e===c)return t||0;const n=parseInt(e,l);if(!Number.isInteger(n)||n>t)throw new Error(`invalid array index ${e}`);return n}function*p(e,t,n={strict:!1}){let i=e;for(const a of o(t)){if(n.strict&&!Object.prototype.hasOwnProperty.call(i,a))throw new u(t);i=i[a],yield{node:i,token:a}}}function g(e,t){let n=e;for(const{node:i}of p(e,t,{strict:!0}))n=i;return n}function f(e,t,n){let i=null,a=e,s=null;for(const{node:o,token:l}of p(e,t))i=a,a=o,s=l;if(!i)throw new u(t);if(Array.isArray(i))try{const e=h(s,i);i.splice(e,0,n)}catch(r){throw new u(t)}else Object.assign(i,{[s]:n});return e}function m(e,t){let n=null,i=e,a=null;for(const{node:r,token:o}of p(e,t))n=i,i=r,a=o;if(!n)throw new u(t);if(Array.isArray(n))try{c
|