index-legacy.61a62a79.js 2.7 KB

1
  1. !function(){function t(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var e,a,u=[],i=!0,l=!1;try{for(n=n.call(t);!(i=(e=n.next()).done)&&(u.push(e.value),!r||u.length!==r);i=!0);}catch(o){l=!0,a=o}finally{try{i||null==n.return||n.return()}finally{if(l)throw a}}return u}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}System.register(["./ResizeObserver.es-legacy.42c87f31.js"],(function(n){"use strict";var e,a,u,i,l,o,c,f,s,v,p;return{setters:[function(t){e=t.v,a=t.C,u=t.w,i=t.D,l=t.d,o=t.E,c=t.G,f=t.c,s=t.H,v=t.I,p=t.z}],execute:function(){var g=r(e("row"),2),h=g[0],d=g[1],y=Symbol(h),b={tag:a("div"),wrap:u,align:String,gutter:i(0),justify:String},m=l({name:h,props:b,setup:function(r,n){var e=n.slots,a=o(y),u=a.children,i=a.linkChildren,l=c((function(){var t=[[]],r=0;return u.forEach((function(n,e){(r+=Number(n.span))>24?(t.push([e]),r-=24):t[t.length-1].push(e)})),t}));return i({spaces:c((function(){var t=Number(r.gutter),n=[];return t?(l.value.forEach((function(r){var e=t*(r.length-1)/r.length;r.forEach((function(r,a){if(0===a)n.push({right:e});else{var u=t-n[r-1].right,i=e-u;n.push({left:u,right:i})}}))})),n):n}))}),function(){var n,a=r.tag,u=r.wrap,i=r.align,l=r.justify;return f(a,{class:d((n={},t(n,"align-".concat(i),i),t(n,"justify-".concat(l),l),t(n,"nowrap",!u),n))},{default:function(){var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}}),w=r(e("col"),2),S=w[0],j=w[1],A={tag:a("div"),span:i(0),offset:s},x=l({name:S,props:A,setup:function(r,n){var e=n.slots,a=v(y),u=a.parent,i=a.index,l=c((function(){if(u){var t=u.spaces;if(t&&t.value&&t.value[i.value]){var r=t.value[i.value],n=r.left,e=r.right;return{paddingLeft:n?"".concat(n,"px"):null,paddingRight:e?"".concat(e,"px"):null}}}}));return function(){var n,a=r.tag,u=r.span,i=r.offset;return f(a,{style:l.value,class:j((n={},t(n,u,u),t(n,"offset-".concat(i),i),n))},{default:function(){var t;return[null==(t=e.default)?void 0:t.call(e)]}})}}});n("C",p(x)),n("R",p(m))}}}))}();