PageSourceSearch

https://ciy.com/_next/static/chunks/6949-03dbef8055ba0f3f.js

js ciy.com collected 2026-09-24 18:17:37 UTC 10,444 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[282,1235,1711,3616,4092,6473,6949,7901,8854,9330],{81727:(e,t,n)=>{n.d(t,{RK:()=>j});var r=n(37876);function l(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function i(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function o(e){return i(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function s(e){return"@list"===e._type}function u(e){return"@span"===e._type}function c(e){return"@text"===e._type}let a=["strong","em","code","underline","strike-through"];function f(e,t,n){if(!l(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),i={};return r.forEach(e=>{i[e]=1;for(let r=t+1;r<n.length;r++){let t=n[r];if(t&&l(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))i[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let r=e[t],l=e[n];if(r!==l)return l-r;let i=a.indexOf(t),o=a.indexOf(n);return i===o?t.localeCompare(n):i-o})(i,e,t))}function p(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function d(e,t){let n=t.level||1,r=t.listItem||"normal",i="string"==typeof t.listItem;if(s(e)&&(e.level||1)===n&&i&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let o=e.children[e.children.length-1];return o&&!l(o)?d(o,t):void 0}var h=n(14232);let y={textDecoration:"underline"},m=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,k=e=>m(`block type "${e}"`,"types");function v(e){console.warn(e)}let b={display:"none"},x={types:{},block:{normal:({children:e})=>(0,r.jsx)("p",{children:e}),blockquote:({children:e})=>(0,r.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,r.jsx)("h1",{children:e}),h2:({children:e})=>(0,r.jsx)("h2",{children:e}),h3:({children:e})=>(0,r.jsx)("h3",{children:e}),h4:({children:e})=>(0,r.jsx)("h4",{children:e}),h5:({children:e})=>(0,r.jsx)("h5",{children:e}),h6:({children:e})=>(0,r.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,r.jsx)("em",{children:e}),strong:({children:e})=>(0,r.jsx)("strong",{children:e}),code:({children:e})=>(0,r.jsx)("code",{children:e}),underline:({children:e})=>(0,r.jsx)("span",{style:y,children:e}),"strike-through":({children:e})=>(0,r.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,r.jsx)("a",{href:t?.href,children:e})},list:{number:({children:e})=>(0,r.jsx)("ol",{children:e}),bullet:({children:e})=>(0,r.jsx)("ul",{children:e})},listItem:({children:e})=>(0,r.jsx)("li",{children:e}),hardBreak:()=>(0,r.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let n=k(e._type);return(0,r.jsx)(t?"span":"div",{style:b,children:n})},unknownMark:({markType:e,children:t})=>(0,r.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,r.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,r.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,r.jsx)("p",{children:e})};function _(e,t,n){let r=t[n],l=e[n];return"function"==typeof r||r&&"function"==typeof l?r:r?{...l,...r}:l}function j({value:e,components:t,listNestingMode:n,onMissingComponent:l=v}){let i=l||w,s=function(e,t){let n=[],r;for(let s=0;s<e.length;s++){let u=e[s];if(u){var l,i;if(!o(u)){n.push(u),r=void 0;continue}if(!r){r=p(u,s,t),n.push(r);continue}if(l=u,i=r,(l.level||1)===i.level&&l.listItem===i.listItem){r.children.push(u);continue}if((u.level||1)>r.level){let e=p(u,s,t);if("html"===t){let t=r.children[r.children.length-1],n={...t,children:[...t.children,e]};r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((u.level||1)<r.level){let e=n[n.length-1],l=e&&d(e,u);if(l){(r=l).children.push(u);continue}r=p(u,s,t),n.push(r);continue}if(u.listItem!==r.listItem){let e=n[n.length-1],l=e&&d(e,{level:u.level||1});if(l&&l.listItem===u.listItem){(r=l).children.push(u);continue}r=p(u,s,t),n.push(r);continue}console.warn("Unknown state encountered for block",u),n.push(u)}}return n}(Array.isArray(e)?e:[e],n||"html"),u=(0,h.useMemo)(()=>t?function(e,t){let{block:n,list:r,listItem:l,marks:i,types:o,...s}=t;return{...e,block:_(e,t,"block"),list:_(e,t,"list"),listItem:_(e,t,"listItem"),marks:_(e,t,"marks"),types:_(e,t,"types"),...s}}(x,t):x,[t]),c=(0,h.useMemo)(()=>g(u,i),[u,i]);return(0,r.jsx)(r.Fragment,{children:s.map((e,t)=>c({node:e,index:t,isInline:!1,renderNode:c}))})}let g=(e,t)=>function n(l){var a,f,p,d,h,y,v,b;let x,_,{node:j,index:g,isInline:w}=l,E=j._key||`node-${g}`;return s(j)?function(l,i,o){let s=l.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:n})),u=e.list,c=("function"==typeof u?u:u[l.listItem])||e.unknownList;if(c===e.unknownList){let e=l.listItem||"bullet";t(m(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,r.jsx)(c,{value:l,index:i,isInline:!1,renderNode:n,children:s},o)}(j,g,E):o(j)?function(l,i,o){let s=I({node:l,index:i,isInline:!1,renderNode:n}),u=e.listItem,c=("function"==typeof u?u:u[l.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=l.listItem||"bullet";t(m(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let a=s.children;if(l.style&&"normal"!==l.style){let{listItem:e,...t}=l;a=n({node:t,index:i,isInline:!1,renderNode:n})}return(0,r.jsx)(c,{value:l,index:i,isInline:!1,renderNode:n,children:a},o)}(j,g,E):u(j)?function(l,i,o){let{markDef:s,markType:a,markKey:f}=l,p=e.marks[a]||e.unknownMark,d=l.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return p===e.unknownMark&&t(m(`mark type "${a}"`,"marks"),{nodeType:"mark",type:a}),(0,r.jsx)(p,{text:function e(t){let n="";
1return t.children.forEach(t=>{c(t)?n+=t.text:u(t)&&(n+=e(t))}),n}(l),value:s,markType:a,markKey:f,renderNode:n,children:d},o)}(j,0,E):j._type in e.types?(a=j,f=g,p=E,d=w,(x=e.types[a._type])?(0,r.jsx)(x,{value:a,isInline:d,index:f,renderNode:n},p):null):i(j)?function(l,i,o,s){let{_key:u,...c}=I({node:l,index:i,isInline:s,renderNode:n}),a=c.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[a])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&t(m(`block style "${a}"`,"block"),{nodeType:"blockStyle",type:a}),(0,r.jsx)(f,{...c,value:c.node,renderNode:n},o)}(j,g,E,w):c(j)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,r.jsx)(t,{},n):"\n"}return t.text}(j,E):(h=j,y=g,v=E,b=w,t(k(h._type),{nodeType:"block",type:h._type}),_=e.unknownType,(0,r.jsx)(_,{value:h,isInline:b,index:y,renderNode:n},v))};function I(e){let{node:t,index:n,isInline:r,renderNode:i}=e,o=(function(e){let{children:t}=e,n=e.markDefs??[];if(!t||!t.length)return[];let r=t.map(f),i={_type:"@span",children:[],markType:"<unknown>"},o=[i];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let s=r[e]||[],u=1;if(o.length>1)for(;u<o.length;u++){let e=o[u]?.markKey||"",t=s.indexOf(e);if(-1===t)break;s.splice(t,1)}let c=(o=o.slice(0,u))[o.length-1];if(c){for(let e of s){let t=n?.find(t=>t._key===e),r={_type:"@span",_key:i._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};c.children.push(r),o.push(r),c=r}if(l(i)){let e=i.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");c.children=c.children.concat(e.map(e=>({_type:"@text",text:e})))}else c.children=c.children.concat(i)}}return i.children})(t).map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||`block-${n}`,children:o,index:n,isInline:r,node:t}}function w(){}},83025:(e,t,n)=>{n.d(t,{A:()=>r});function r(e,...t){let n=e.length-1;return e.slice(0,n).reduce((e,n,r)=>e+n+t[r],"")+e[n]}},89444:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=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},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(14232));function o(e){return e&&e.__esModule?e:{default:e}}o(n(98477));var s=0;t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={loaded:!1},n.id=s++,n.createForm=n.createForm.bind(n),n.findFormElement=n.findFormElement.bind(n),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l(t,[{key:"createForm",value:function(){var e=this;if(window.hbspt){if(null===this.el)return;var t=r({},this.props);delete t.loading,delete t.onSubmit,delete t.onReady;var n=r({},t,{target:"#"+this.el.getAttribute("id"),onFormSubmit:function(t){var n=t.serializeArray();e.props.onSubmit(n)}});return window.hbspt.forms.create(n),!0}setTimeout(this.createForm,1)}},{key:"loadScript",value:function(){var e=this,t=document.createElement("script");t.defer=!0,t.onload=function(){e.createForm(),e.findFormElement()},t.src="//js.hsforms.net/forms/v2.js",document.head.appendChild(t)}},{key:"findFormElement",value:function(){if(null!==this.el){var e=this.el.querySelector("iframe");e?(this.setState({loaded:!0}),this.props.onReady&&this.props.onReady(e)):setTimeout(this.findFormElement,1)}}},{key:"componentDidMount",value:function(){window.hbspt||this.props.noScript?(this.createForm(),this.findFormElement()):this.loadScript()}},{key:"componentWillUnmount",value:function(){}},{key:"render",value:function(){var e=this;return i.default.createElement("div",null,i.default.createElement("div",{ref:function(t){return e.el=t},id:"reactHubspotForm"+this.id,style:{display:this.state.loaded?"block":"none"}}),!this.state.loaded&&this.props.loading)}}]),t}(i.default.Component),e.exports=t.default}}]);

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.