// content.jsx — 中英双语内容层
// 约定:标题类中英混排(「The Crown of 华夏」是招牌,两种语言下都保留);
//       正文 / 标签 / 导航随 lang 整体切换。
// 展厅名、展览名、藏品名属专有名词,两种语言下均保留中文本名,英文侧补注释。
// 标记语法: | = 换行(<br/>)   *…* = <span class="em">…</span>

const T = {

  // 21 件已完成三维数字化的藏品。hero:true 的 8 件上首屏,全部进典藏库。
  // 馆方2026-09-07回填补充著录见文件末尾；冲突年份不猜改，未回填项目不补造。
  objects: [
    { slug:'fengguan', hero:true, zh:'鎏金点翠双龙戏珠八仙凤冠', zhSub:'鎏金 · 点翠 · 双龙戏珠 · 八仙',
      en:'Phoenix crown with dragons and the Eight Immortals', enSub:'Gilding · kingfisher feather' },
    { slug:'guguguan', hero:true, zh:'银镶珊瑚孔雀石顾姑冠', zhSub:'银 · 珊瑚 · 孔雀石 · 2 450 克',
      en:'Boqta with coral and malachite', enSub:'Silver · coral · malachite · 2,450 g' },
    { slug:'toukui', hero:true, zh:'鎏金錾刻凤龙纹珊瑚顶插双龙羽头盔', zhSub:'鎏金 · 錾刻 · 珊瑚顶',
      en:'Gilt helmet with coral finial and dragon plumes', enSub:'Gilding · chased relief · coral finial' },
    { slug:'prussian', hero:true, zh:'普鲁士军盔', zhSub:'欧洲 · 军用头盔',
      en:'Prussian Pickelhaube', enSub:'Europe · military helmet' },
    { slug:'miao', hero:true, zh:'贵州台江盘金绣苗族童帽', zhSub:'贵州台江 · 盘金绣',
      en:'Miao child’s hat, couched gold embroidery', enSub:'Taijiang, Guizhou · couched gold thread' },
    { slug:'dior', hero:true, zh:'Christian Dior 羽毛包头帽', zhSub:'当代时装 · 羽毛',
      en:'Christian Dior feathered turban', enSub:'Contemporary couture · feather' },
    { slug:'hutou', hero:true, zh:'虎头帽', zhSub:'民间 · 童帽',
      en:'Tiger-head child’s hat', enSub:'Folk · child’s hat' },
    { slug:'caomao', hero:true, zh:'手编细麦秆草帽', zhSub:'细麦秆手编',
      en:'Hand-plaited wheat-straw hat', enSub:'Fine wheat straw, hand-plaited' },

    { slug:'yin-longfeng', zh:'银点翠龙凤冠', zhSub:'银 · 点翠 · 龙凤',
      en:'Silver phoenix-and-dragon crown', enSub:'Silver · kingfisher feather' },
    { slug:'yin-longfeng2', zh:'银点翠龙凤冠 · 之二', zhSub:'银 · 点翠 · 龙凤',
      en:'Silver phoenix-and-dragon crown, second example', enSub:'Silver · kingfisher feather' },
    { slug:'dianzi-huahui', zh:'鎏金点翠双龙花卉钿子', zhSub:'鎏金 · 点翠 · 双龙花卉',
      en:'Gilt dianzi with dragons and flowers', enSub:'Gilding · kingfisher feather' },
    { slug:'dianzi-dujin', zh:'银镀金点翠花卉纹钿子', zhSub:'银镀金 · 点翠 · 花卉纹',
      en:'Silver-gilt dianzi with floral kingfisher inlay', enSub:'Silver gilt · kingfisher feather' },
    { slug:'dianzi-shaolan', zh:'烧蓝嵌宝石花卉银饰钿子', zhSub:'银 · 烧蓝 · 嵌宝石',
      en:'Silver dianzi with enamel and inset gemstones', enSub:'Silver · enamel · gemstones' },
    { slug:'dianzi-liyu', zh:'点翠双龙鲤鱼牡丹钿子', zhSub:'点翠 · 双龙 · 鲤鱼牡丹',
      en:'Dianzi with dragons, carp and peony', enSub:'Kingfisher feather' },
    { slug:'falang-jia', zh:'清宫廷画珐琅冠架', zhSub:'画珐琅 · 冠架 · 仿制品',
      en:'Painted-enamel hat stand, Qing court', enSub:'Painted enamel · reproduction' },
    { slug:'qihua-jia', zh:'漆画花瓶纹帽架', zhSub:'漆画 · 花瓶纹 · 帽架',
      en:'Lacquered hat stand with vase motif', enSub:'Lacquer painting · hat stand' },
    { slug:'diaohua-jia', zh:'雕花木帽架', zhSub:'木 · 雕花 · 帽架',
      en:'Carved wooden hat stand', enSub:'Wood · carved' },
    { slug:'ouzhou-jia', zh:'欧洲木质可调帽架', zhSub:'欧洲 · 木质 · 可调帽楦',
      en:'European adjustable wooden hat block', enSub:'Europe · wood · adjustable' },
    { slug:'celiangqi', zh:'头部测量器', zhSub:'制帽工具 · 头型测量',
      en:'Conformateur, head-measuring device', enSub:'Hatmaking tool' },
    { slug:'gainian', zh:'概念帽饰', zhSub:'当代 · 概念创作',
      en:'Concept headpiece', enSub:'Contemporary' },
    { slug:'c20230', zh:'C20230', zhSub:'编号待著录',
      en:'C20230', enSub:'Accession code, catalogue entry pending' }
  ],

  // 典藏库:21 件可转动藏品
  lib: {
    zh: { kicker:'三维典藏', title:'21 件，可以转着看',
          lede:'这批藏品已完成三维扫描。点开任意一件，用鼠标或手指拖动，从任何角度看它——包括在展柜前看不到的背面与顶面。',
          open:'展开全部 21 件', close:'收起',
          prev:'上一件', next:'下一件', esc:'关闭',
          loading:'正在载入', hint:'拖动旋转', noThumb:'暂无预览图' },
    en: { kicker:'The collection in 3D', title:'Twenty-one objects, yours to turn',
          lede:'These pieces have been 3D-scanned. Open any one and drag it with a mouse or finger to see it from any angle — including the back and the crown, which no vitrine will show you.',
          open:'Show all 21', close:'Collapse',
          prev:'Previous', next:'Next', esc:'Close',
          loading:'Loading', hint:'Drag to rotate', noThumb:'No preview' }
  },

  // 明信片:访客把文物转到喜欢的角度,那个角度就是明信片正面
  card: {
    zh: {
      open: '寄一张明信片',
      openHint: '选一张 · 写几句 · 分享心意',
      artLabel: '博物馆画作 · 11 张',
      objectLabel: '藏品角度 · 4 种版式',
      artLede: '选一张喜欢的画作，在画面下方留下心意。',
      artGuide: '选画面 → 写几句 → 一次保存完整卡片',
      artNote: '画作不裁切、不压字；留言接在下方，一张图片带走完整心意。',
      complete: '完整纪念卡', imageOnly: '仅画面',
      completeNote: '将保存一张图片，包含画面、留言、收件人和署名（已填写时）。',
      imageOnlyNote: '当前只保存画面，不含留言。要一起保存，请选「完整纪念卡」。',
      front: '正面', back: '背面 · 留言',
      frontSave: '保存正面', backSave: '保存背面',
      artMsgLabel: '写在卡片上的话',
      renderError: '图片暂时未能载入，请重试或选择另一张。',
      retry: '重试',
      backToEdit: '返回编辑', albumTitle: '保存到手机相册',
      albumButton: '保存到相册', albumSub: '打开图片 / 系统保存菜单',
      systemMenu: '打开系统菜单', fileDownload: '下载 PNG 文件（电脑 / 文件 App）',
      albumHelp: '在系统菜单中选择「存储图像」或「保存图片」。也可以长按下方完整图片，选择保存到相册。',
      wechatSave: '在微信中，长按下方图片，选择「保存图片」。若系统菜单可用，也可以从中选择「存储图像」。',
      albumFallback: '如果当前浏览器没有提供相册选项，可先下载 PNG 文件，再从「文件」App 的分享菜单保存图像。网页不能替你确认相册保存。',
      recipientLabel: '致谁（选填）', senderLabel: '署名（选填）',
      deliveryLabel: '保存与分享', shareSub: '发送给朋友 / 选择应用',
      title: '把这份心意带走',
      lede: '刚才选定的藏品角度，和你写下的话，会成为同一张纪念卡。',
      recut: '用当前角度重取',
      msgLabel: '写给他的话(会印在卡上)',
      msgPh: '在南通富美帽饰博物馆,我看见一顶……',
      fromLabel: '你的署名',
      fromPh: '你的名字',
      toLabel: '收件人邮箱',
      toPh: 'name@example.com',
      send: '寄出',
      sending: '正在寄出…',
      sent: '已寄出。对方会在几分钟内收到。',
      download: '保存图片',
      share: '分享 · 发给他',
      sharing: '正在准备…',
      shared: '已交给分享面板',
      longpress: '在手机上也可以长按上面的图片保存',
      mailSoon: '这是电子明信片，可保存或分享给朋友；不会自动发送邮件，也不涉及实物邮寄。',
      guide: '转到你喜欢的角度 → 选一种版式 → 保存或分享',
      close: '关闭',
      errMail: '请填写一个能收到信的邮箱',
      errMsg: '还没写内容',
      errNet: '寄送失败,请稍后再试(或先保存图片)',
      offline: '邮件通道尚未开通,可先保存图片自行发送',
      paper: '电子纪念卡，无实物邮寄',
      styleLabel: '版式',
      stylePaper: '纸本',
      styleRiso: '珂罗版',
      styleInk: '水墨',
      styleDuo: '单色印刷',
      count: '字'
    },
    en: {
      open: 'Send a postcard',
      openHint: 'Choose · Write · Share',
      artLabel: 'Museum artwork · 11 cards',
      objectLabel: 'Object view · 4 formats',
      artLede: 'Choose a favourite artwork and leave a handwritten note below it.',
      artGuide: 'Choose → write → save one complete card',
      artNote: 'The artwork stays uncropped and untouched. Your note sits below it, in the same image.',
      complete: 'Complete card', imageOnly: 'Image only',
      completeNote: 'One image includes the picture, message, recipient and signature when filled in.',
      imageOnlyNote: 'This saves the picture without your message. Choose Complete card to include both.',
      front: 'Front', back: 'Back · Message',
      frontSave: 'Save front', backSave: 'Save back',
      artMsgLabel: 'Your handwritten note',
      renderError: 'This image could not load. Please retry or choose another card.',
      retry: 'Retry',
      backToEdit: 'Back to editing', albumTitle: 'Save to Photos',
      albumButton: 'Save to Photos', albumSub: 'Open image / system save menu',
      systemMenu: 'Open system menu', fileDownload: 'Download PNG file (computer / Files app)',
      albumHelp: 'Choose Save Image in the system menu if available, or touch and hold the full image below to save it to Photos.',
      wechatSave: 'In WeChat, touch and hold the image below and choose Save Image. You can also use the system menu if it offers Save Image.',
      albumFallback: 'If this browser has no Photos option, download the PNG and use the share menu in Files to save the image. The website cannot confirm a save to Photos for you.',
      recipientLabel: 'To (optional)', senderLabel: 'From (optional)',
      deliveryLabel: 'Save & share', shareSub: 'Send to a friend / choose an app',
      title: 'A little something to keep',
      lede: 'Your chosen view of the object and your words become one keepsake image.',
      recut: 'Use current angle',
      msgLabel: 'Your message (printed on the card)',
      msgPh: 'At the Foremost Hat Museum in Nantong, I saw a…',
      fromLabel: 'From',
      fromPh: 'Your name',
      toLabel: 'Recipient email',
      toPh: 'name@example.com',
      send: 'Send',
      sending: 'Sending…',
      sent: 'Sent. It should arrive within a few minutes.',
      download: 'Save image',
      share: 'Share',
      sharing: 'Preparing…',
      shared: 'Handed to your share sheet',
      longpress: 'On a phone you can also press and hold the image to save it',
      mailSoon: 'This is a digital postcard. Save it or share it with a friend. No email or physical postcard is sent automatically.',
      guide: 'Turn it to the angle you like → pick a format → save or share',
      close: 'Close',
      errMail: 'Please enter a valid email address',
      errMsg: 'Your message is still empty',
      errNet: 'Could not send — please try again, or save the image',
      offline: 'Email delivery is not switched on yet — you can save the image and send it yourself',
      paper: 'Digital keepsake; no physical mailing',
      styleLabel: 'Format',
      stylePaper: 'Paper',
      styleRiso: 'Risograph',
      styleInk: 'Ink wash',
      styleDuo: 'Duotone',
      count: 'chars'
    }
  },

  nav: {
    zh: { about: '关于', exhibitions: '展览', collection: '典藏', gallery: '影像', visit: '参观', festival: '920', home: '首页', open: '打开菜单', close: '关闭菜单' },
    en: { about: 'About', exhibitions: 'Exhibitions', collection: 'Collection', gallery: 'Gallery', visit: 'Visit', festival: '920', home: 'Home', open: 'Open menu', close: 'Close menu' }
  },

  hero: {
    zh: {
      eyebrow: '南通 · 一座关于帽子的博物馆',
      nowLabel: '在展',
      now: '观帽 —— 一场关于头顶之上千年风物的展览',
      collLabel: '典藏',
      coll: '从晚清顾姑冠、官员夏朝冠，到近现代手编细麦秆草帽。',
      hoursLabel: '开放',
      hours: '预约参观 · 开放时间见参观页',
      place: '南通 · Nantong',
      scroll: '向下',
      mast: '观帽 · 基本陈列',
      hint: '拖动旋转 · 点选切换',
      loading: '正在载入三维扫描',
      objLabel: '馆藏三维'
    },
    en: {
      eyebrow: 'Est. Nantong · A Museum of Headwear',
      nowLabel: 'Now Showing',
      now: '观帽 · A Reading of Crowns — a millennium of what we wear above the head',
      collLabel: 'Collection',
      coll: 'From a late-Qing boqta and summer court hats to modern hand-plaited wheat-straw hats.',
      hoursLabel: 'Hours',
      hours: 'By reservation · see visiting hours',
      place: '南通 · Nantong',
      scroll: 'Scroll',
      mast: '观帽 · A Reading of Crowns',
      hint: 'Drag to rotate · tap to switch',
      loading: 'Loading 3D scan',
      objLabel: 'In 3D'
    }
  },

  // 页码(报刊页眉「02 / 展览」);右侧域名由 Folio 运行时取 location.host,换域名不用改这里
  // 英文馆名口径(2026-09-08 定):英文完整名 / 双语 logo = Nantong Foremost Hat Museum(馆方 AI 源文件即此);网站主标题 / 日常传播 = Foremost Hat Museum;国际署名 = Foremost Hat Museum, Nantong。headwear 只作描述,不作正式名。
  // 单数 Hat 是英语博物馆命名惯例(Bata Shoe Museum / The Fan Museum);旧译 Nantong Foremost Hats Museum 只作 JSON-LD alternateName 保留检索连续性
  pages: {
    zh: { home: '首页', festival: '920 帽子节', exhibitions: '展览', collection: '典藏', gallery: '影像', about: '关于', visit: '参观' },
    en: { home: 'Front page', festival: '920 Festival', exhibitions: 'Exhibitions', collection: 'Collection', gallery: 'Inside', about: 'About', visit: 'Visit' }
  },

  // 首页首屏之下的「头版」
  // 首页轮播:六张外观 / 建筑实拍(园区美图合集 + 顾姐严选),图注只写画面里看得到的
  carousel: {
    zh: {
      h1: '南通市富美帽饰博物馆',
      sub: '帽子哥二十年收藏 · 前身 Jeffsun 帽饰博物馆于 2014 年揭牌 · 预约参观',
      cta1: '920 中国帽子节', cta2: '馆藏三维',
      prev: '上一张', next: '下一张',
      slides: { 'pond-day': '博艺楼 · 水院', 'pond-dusk': '博艺楼 · 暮色', 'aerial': '帽饰文创园 · 航拍', 'tree': '老树 · 博艺楼', 'sky': '博艺楼 · 立面', 'columns': '柱廊 · 仰望' }
    },
    en: {
      h1: 'Foremost Hat Museum',
      sub: 'Nantong, China · Twenty years of hat collecting · Began as the Jeffsun Hats Museum in 2014 · Visits by reservation',
      cta1: '920 China Hat Festival', cta2: 'Collection in 3D',
      prev: 'Previous', next: 'Next',
      slides: { 'pond-day': 'The Boyi Building over the water', 'pond-dusk': 'Dusk', 'aerial': 'The Hat Creative Park from above', 'tree': 'The old tree and the Boyi Building', 'sky': 'The façade', 'columns': 'Looking up through the colonnade' }
    }
  },

  // 首页第二格:920 倒计时(日历天,北京时间)
  count: {
    zh: { label: '第五届 920 中国帽子节', days: '天', today: '就是今天', past: '已于 9 月 20 日举行', date: '2026 年 9 月 20 日 · 周日 · 南通', line: '主题、场地与嘉宾即将公布。', more: '920 专页', share: '分享', copied: '链接已复制', dialNow: '今天', dialTarget: '9·20', editions: '2014 · 2015 · 2018 · 2023 · 2026' },
    en: { label: 'The fifth 920 China Hat Festival', days: 'days', today: 'It is today', past: 'Held on 20 September', date: 'Sunday, 20 September 2026 · Nantong', line: 'Theme, venue and guests to be announced.', more: 'The 920 page', share: 'Share', copied: 'Link copied', dialNow: 'today', dialTarget: '9·20', editions: '2014 · 2015 · 2018 · 2023 · 2026' }
  },

  front: {
    zh: {
      folio: '南通 · 预约参观',
      festLabel: '第五届 920 中国帽子节 · 2026',
      festTitle: '9 月 20 日，|帽子的节日回来了。',
      festRunin: '2026 年 9 月 20 日 · 南通。',
      festBody: '孙建华 2014 年发起的中国帽子节，此后于 2015、2018、2023 年再办三届；今年第五届在南通举行，主题、场地与嘉宾即将公布。',
      days: '天后开幕', today: '今天开幕', past: '已于 2026 年 9 月 20 日举行',
      festMore: '920 专页',
      onLabel: '在展',
      onMore: '全部展览',
      quote: '「一顶高级帽子，从本质上讲不是帽子，而是一种人生态度。」',
      quoteBy: '—— 馆内展墙',
      idxLabel: '目录',
      idx: [
        { k: '典藏', v: '21 件三维扫描藏品，可全角度转动', href: '/collection' },
        { k: '影像', v: '走进展厅', href: '/gallery' },
        { k: '关于', v: '一份私人收藏，向公众开启', href: '/about' },
        { k: '参观', v: '免费开放 · 预约参观 · 冬夏开放时间', href: '/visit' }
      ]
    },
    en: {
      folio: 'Nantong · visits by reservation',
      festLabel: 'The fifth 920 China Hat Festival · 2026',
      festTitle: 'On 20 September,|the hat has its day again.',
      festRunin: '20 September 2026 · Nantong.',
      festBody: 'Initiated by Jeffrey Sun in 2014 and staged again in 2015, 2018 and 2023, the China Hat Festival returns to Nantong this year for its fifth edition. Programme, venue and guests to be announced.',
      days: 'days to go', today: 'Opens today', past: 'Held on 20 September 2026',
      festMore: 'The 920 page',
      onLabel: 'Now showing',
      onMore: 'All exhibitions',
      quote: '“The substance that makes a hat noble is essentially not the hat itself, but the life attitude of the wearer.”',
      quoteBy: '— from the gallery wall',
      idxLabel: 'Index',
      idx: [
        { k: 'Collection', v: '21 objects scanned in 3D, turn them any way you like', href: '/collection' },
        { k: 'Inside', v: 'Walk the galleries', href: '/gallery' },
        { k: 'About', v: 'A private collection, turned public', href: '/about' },
        { k: 'Visit', v: 'Free · by reservation · seasonal hours', href: '/visit' }
      ]
    }
  },

  // 920 中国帽子节 —— 事实来源:
  //  · 四届(2014/2015/2018/2023)= 孙建华 2023 年访谈原话「我们公司…2014、2015、2018和2023年主办了四届“中国帽子节”」;
  //    2026 年《凤凰艺术》报道亦作「主办四届」
  //  · 引言 = 《管理者文集》孙建华原文
  //  · 2026 年 9 月 20 日 = 本届日期;「第五届」与「南通」= 2026-09-05 王晨锡确认;主题、场地、嘉宾以官方公布为准,站上不写
  fest: {
    zh: {
      folio: '第五届 920 中国帽子节 · 2026',
      kicker: '920 · China Hat Festival',
      name: '第五届中国帽子节',
      date: '2026 年 9 月 20 日 · 周日 · 南通',
      days: '天后开幕', today: '今天开幕', past: '已于 2026 年 9 月 20 日举行',
      label: '节日',
      title: '把爱帽的人，|聚在一起。',
      runin: '2026 年 9 月 20 日（周日）· 南通。',
      p1: '「中国帽子节」由本馆创办人孙建华发起：2014 年首届，此后于 2015、2018、2023 年再办三届——设计师、匠人和爱戴帽子的人，为一顶帽子聚在一起。2026 年 9 月 20 日，第五届在南通举行。',
      p2: '本届的主题、场地与嘉宾，将在本页与创办人个人站陆续公布。',
      quote: '「我们举办 920 帽子节，把一批爱美爱帽的人集聚在一起，而这些人会带来更多的爱帽之人，星星之火可以燎原。」',
      quoteBy: '—— 孙建华，《管理者文集》',
      histLabel: '历届',
      hist: [['2014', '首届中国帽子节'], ['2015', '第二届'], ['2018', '第三届'], ['2023', '第四届'], ['2026', '第五届 · 9 月 20 日 · 南通']],
      figCap: '第四届中国帽子节现场 · 2023',
      initiator: '发起人', initiatorName: '孙建华（帽子哥）', initiatorHref: 'https://jeffreysuns.com/#festival',
      visitLabel: '来馆', visitText: '预约参观 · 冬夏开放时间见参观页 · 咨询 0513-85675777 · 崇川区新康路 98 号'
    },
    en: {
      folio: 'The fifth 920 China Hat Festival · 2026',
      kicker: '920 · 中国帽子节',
      name: 'The Fifth China Hat Festival',
      date: 'Sunday, 20 September 2026 · Nantong',
      days: 'days to go', today: 'Opens today', past: 'Held on 20 September 2026',
      label: 'Festival',
      title: 'Bringing hat-lovers|together.',
      runin: 'Sunday, 20 September 2026 · Nantong.',
      p1: 'The China Hat Festival was initiated by the museum’s founder, Jeffrey Sun: a first edition in 2014, then again in 2015, 2018 and 2023 — designers, makers and people who simply love wearing hats, gathered for the hat. On 20 September 2026 the fifth edition takes place in Nantong.',
      p2: 'This year’s theme, venue and guests will be announced here and on the founder’s own site.',
      quote: '“We hold the 920 Hat Festival to bring together people who love beauty and love hats — and they will bring more hat-lovers with them. A single spark can start a prairie fire.”',
      quoteBy: '— Jeffrey Sun, Collected Writings for Managers',
      histLabel: 'Editions',
      hist: [['2014', 'The first China Hat Festival'], ['2015', 'Second edition'], ['2018', 'Third edition'], ['2023', 'Fourth edition'], ['2026', 'Fifth edition · 20 September · Nantong']],
      figCap: 'The fourth China Hat Festival · 2023',
      initiator: 'Initiator', initiatorName: 'Jeffrey Sun (Hat Brother)', initiatorHref: 'https://jeffreysuns.com/#festival',
      visitLabel: 'Visit', visitText: 'By reservation · see seasonal hours · +86 513 85675777 · 98 Xinkang Road, Nantong'
    }
  },

  about: {
    zh: {
      num: '02 / 关于',
      label: '关于本馆',
      dtCity: '所在', dtMember: '资质', dtFounded: '成立',
      metaFounded: '2014 年成立 · 2019 年备案成功',
      founderQuote: '「一顶一顶做帽子。若只看帽子，一辈子也做不好帽子。」',
      founderBy: '—— 孙建华，创办人',
      founderLink: '创办人个人站 jeffreysuns.com',
      caption: '为那些戴在头顶之物，以及它们之下承载的世界，造一处居所。',
      metaCity: '江苏 · 南通',
      metaMember: '中国博物馆协会会员单位',
      h2: '一份私人收藏，|向*公众*|开启。',
      p1: '南通市富美帽饰博物馆位于江苏南通，2014 年成立，2019 年备案成功，前身为 Jeffsun 帽饰博物馆。由创办人孙建华（「帽子哥」）约二十年的帽饰收藏积累发展而来，现有藏品 6,000 件以上，涵盖历代冠帽、近现代手编草帽，以及来自不同地区的礼仪头饰与当代设计师作品。',
      p2: '本馆展陈面积 2,000 平方米，建筑总面积近 10,000 平方米，为中国博物馆协会会员单位。基本陈列「观帽」呈现帽饰的形制、工艺及其承载的生活文化。',
      p3: '我们收藏、修护、策展；与学者、匠人和当代设计师协作；并向愿意认真对待「衣冠」与「礼仪」之别的品牌开放馆藏档案。',
      p4: '从制帽人到史学者，从朝堂到通勤——这座博物馆属于每一个曾在镜前驻足、把什么戴上头顶的人。'
    },
    en: {
      num: '02 / About',
      label: 'About the museum',
      dtCity: 'Where', dtMember: 'Member', dtFounded: 'Founded',
      metaFounded: 'Founded in 2014 · museum registration completed in 2019',
      founderQuote: '“One hat at a time. Look only at the hat, and you will never make a good one.”',
      founderBy: '— Jeffrey Sun, founder',
      founderLink: 'The founder’s site, jeffreysuns.com',
      caption: 'A house for the things we wear above the head, and the worlds they hold below.',
      metaCity: 'Nantong · Jiangsu',
      metaMember: 'Member, Chinese Museums Association',
      h2: 'A private|collection,|turned *public*.',
      p1: 'Founded in 2014 and registered as a museum in 2019, the Nantong Foremost Hat Museum grew out of the Jeffsun Hats Museum and around twenty years of collecting by Jeffrey Sun, known as “Hat Brother”. Its collection holds more than 6,000 objects, including historic hats, modern hand-plaited straw hats, ceremonial headwear from different regions and contemporary millinery.',
      p2: 'The museum has 2,000 m² of exhibition space and a total building area of nearly 10,000 m². A member of the Chinese Museums Association, it explores the forms, craftsmanship and cultural life of headwear through its permanent display, A Reading of Crowns.',
      p3: 'We collect, conserve, and stage exhibitions; we work with scholars, craftspeople and contemporary designers; and we license the museum’s archive to brands who want to think seriously about the line between dress and ceremony.',
      p4: 'From hatmaker to historian, from courtier to commuter — the museum is for anyone who has ever paused, in front of a mirror, to put something on their head.'
    }
  },

  exh: {
    zh: {
      num: '03 / 展览',
      label: '展览',
      title: '正在展出的，|与*过往*的。',
      items: [
        { status:'current', h: '观帽 —— 一场关于冠冕的阅读', runin: '基本陈列 · 常设在展。', body: '分序厅、一代昭度、世界大同、巧手天工、百工志业、羽毛厅、时尚庞儿、富美创意八个展区展开。', img: 'assets/interior-arch.jpg', alt: '观帽 基本陈列入口', cap: '基本陈列入口' },
        { status:'past', h: '101 —— 国际帽饰设计师创作集萃', runin: '过往特展 · 已撤展。', body: '为未来收藏今天。', img: 'assets/exh-101.jpg', alt: '101 国际帽饰设计师创作集萃历史影像', cap: '过往特展影像' },
        { status:'current', h: '浮翠鎏金 —— 点翠大展', runin: '特展 · 正在展出。', body: '无点翠，不凤冠。', img: 'assets/exh-diancui.jpg', alt: '浮翠鎏金 点翠大展', cap: '点翠大展' },
        { status:'current', h:'101欧洲古董蕾丝展', runin:'正在展出 · 3F 目枢美术馆。', body:'' },
        { status:'current', h:'党鉴展', runin:'正在展出 · 1F 101SPACEA。', body:'' },
        { h: '博艺楼 · FAD book house', runin: '图书馆分馆。', body: '帽饰艺术与设计。' },
        { h: '《移动花园》', runin: '公共艺术。', body: '唐承华装置作品。' },
        { h: '博物馆商店与创意工坊', runin: '文创区。', body: '' },
        { h: '草帽展 · 青年画家联展', runin: '临展。', body: '详情以馆内公告为准。' }
      ],
      note: '在展状态由馆方于2026年9月7日确认。特展起止日期及临时调整以馆内公告为准。'
    },
    en: {
      num: '03 / Exhibitions',
      label: 'Exhibitions',
      title: 'Current displays|and *past* exhibitions.',
      items: [
        { status:'current', h: '观帽 — A Reading of Crowns', runin: 'Permanent display · on view.', body: 'Across eight galleries: 序 · 一代昭度 · 世界大同 · 巧手天工 · 百工志业 · 羽毛厅 · 时尚庞儿 · 富美创意.', img: 'assets/interior-arch.jpg', alt: 'Entrance to the permanent display', cap: 'Entrance to the permanent display' },
        { status:'past', h: '101 — An Anthology of International Milliners', runin: 'Past exhibition · closed.', body: 'Collecting today, for tomorrow.', img: 'assets/exh-101.jpg', alt: 'Archive image of the 101 exhibition', cap: 'Past exhibition · archive image' },
        { status:'current', h: '浮翠鎏金 — The Kingfisher-Feather Crown', runin: 'Special exhibition · on view.', body: 'No diancui, no phoenix crown.', img: 'assets/exh-diancui.jpg', alt: 'Kingfisher-feather headdress exhibition', cap: 'The diancui exhibition' },
        { status:'current', h:'101欧洲古董蕾丝展 · European Antique Lace', runin:'On view · 3F 目枢美术馆.', body:'' },
        { status:'current', h:'党鉴展', runin:'On view · 1F 101SPACEA.', body:'' },
        { h: 'FAD Book House', runin: 'Library branch.', body: 'Headwear art and design.' },
        { h: 'A Moving Garden', runin: 'Public art.', body: 'An installation by Tang Chenghua.' },
        { h: 'Museum shop & creative studio', runin: 'Shop.', body: '' },
        { h: 'Straw Hat Show · Young Painters', runin: 'Temporary.', body: 'See the on-site notice for dates.' }
      ],
      note: 'Exhibition status confirmed by the museum on 7 September 2026. See museum notices for dates and temporary changes.'
    }
  },
  coll: {
    zh: {
      num: '04 / 典藏',
      label: '典藏',
      threeLabel: '三维数字化',
      h2: '来自馆藏的|*精选*之物。',
      kicker: '精选藏品',
      leadTitle: '官员夏朝冠 —— *清晚期*',
      leadP: '清代夏季朝会礼仪官帽。细竹丝编织帽胎，帽面白罗、帽里红纱，配朱纬红绒缨、铜鎏金帽顶及水晶顶珠。系带采用丝织锦缎，石青织金片金缘镶边。通高26厘米，帽下檐外沿口径29厘米，帽顶高11厘米。由馆长孙建华先生于民间征集所得。',
      dtEra: '年代',
      ddEra: '清晚期',
      dtOn: '展区',
      ddOn: '观帽 · 基本陈列',
      quote: '「一顶一顶做帽子。若只看帽子，一辈子也做不好帽子。」',
      quoteBy: '— 孙建华，创办人',
      side: '基本陈列「观帽」分序厅、一代昭度、世界大同、巧手天工、百工志业、羽毛厅、时尚庞儿、富美创意等展区展开。部分重点藏品已完成三维数字化，可在线全角度观看。',
      a1: '银镶珊瑚孔雀石顾姑冠', a1k: '顾姑冠', a1m1: '银 · 珊瑚 · 孔雀石', a1m2: '2 450 克',
      a1p: '晚清鄂尔多斯蒙古族贵族妇女礼冠，以银为主体，镶嵌红珊瑚、孔雀石，配银饰构件与仿真发辫，总重2,450克。由馆长孙建华先生民间征集入藏。',
      a2: '手编细麦秆草帽', a2k: '草编', a2m1: '细麦秆手编', a2m2: '近现代',
      a2p: '以天然细麦秆为原料，经手工掐辫、缉缝编织成型，轻薄透气，旧时用于民间劳作时遮阳纳凉。由孙建华先生民间征集入藏。',
      a3: '官员夏朝冠', a3k: '朝冠', a3m1: '清晚期', a3m2: '朱纬 · 铜鎏金帽顶 · 水晶'
    },
    en: {
      num: '04 / Collection',
      label: 'Collection',
      threeLabel: 'Digitised in 3D',
      h2: 'Selected *objects*|from the archive.',
      kicker: 'Featured Object',
      leadTitle: '夏朝冠 — A *late-Qing* official’s summer court hat',
      leadP: 'A summer ceremonial court hat with a fine bamboo framework, white silk gauze exterior, red gauze lining and red silk tassels. It has a gilt-copper finial set with crystal, silk-brocade ties and dark-blue edging woven with gold. Overall height: 26 cm; outer brim diameter: 29 cm; finial height: 11 cm. Acquired from private sources by museum director Jeffrey Sun.',
      dtEra: 'Era',
      ddEra: 'Late Qing dynasty',
      dtOn: 'On view',
      ddOn: '观帽 · Permanent display',
      quote: '“One hat at a time. Look only at the hat, and you will never make a good one.”',
      quoteBy: '— Jeffrey Sun, founder',
      side: 'The permanent display 观帽 unfolds across eight galleries. Selected objects have been digitised in 3D and can be turned through every angle online.',
      a1: 'Boqta with coral and malachite', a1k: 'Boqta', a1m1: 'Silver · coral · malachite', a1m2: '2,450 g',
      a1p: 'A late-Qing ceremonial headdress for an Ordos Mongolian noblewoman. Silver is set with coral and malachite, with silver fittings and imitation braids. Total weight: 2,450 g. Acquired from private sources by museum director Jeffrey Sun.',
      a2: 'Hand-plaited wheat-straw hat', a2k: 'Straw', a2m1: 'Fine wheat straw, hand-plaited', a2m2: 'Modern',
      a2p: 'Natural fine wheat straw is plaited and stitched by hand into a light, breathable hat, traditionally used for shade during outdoor work. Acquired from private sources by Jeffrey Sun.',
      a3: 'Official’s summer court hat', a3k: 'Court', a3m1: 'Late Qing dynasty', a3m2: 'Red floss · gilt copper · crystal'
    }
  },

  // 展厅实拍。说明只写画面里能看到的,不指认具体展厅(待馆方确认)
  photos: [
    { slug:'exterior-101', zh:'博艺楼外观 · 101 特展期间', en:'The pavilion, during the 101 exhibition', wide:true },
    { slug:'red-curve',    zh:'弧形展廊',       en:'The curved gallery' },
    { slug:'red-corridor', zh:'长廊展柜',       en:'Corridor of vitrines' },
    { slug:'quote-wall',   zh:'展墙文字',       en:'The wall text', wide:true },
    { slug:'dark-display', zh:'暗场陈列',       en:'Objects in low light' },
    { slug:'red-arches',   zh:'拱廊',           en:'The arcade' },
    { slug:'fad-books',    zh:'FAD book house · 图书馆分馆', en:'FAD Book House' },
    { slug:'vitrines',     zh:'展柜',           en:'Vitrines' },
    { slug:'hat-wall',     zh:'帽饰陈列',       en:'Hats on display' },
    { slug:'steps',        zh:'阶梯陈列',       en:'The stepped display' }
  ],

  gallery: {
    zh: {
      num: '05 / 馆内',
      label: '影像',
      h2: '走进*展厅*。',
      quote: '「一顶高级帽子，从本质上讲不是帽子，而是一种人生态度。」',
      attr: '— 馆内展墙',
      zoom: '点开看大图'
    },
    en: {
      num: '05 / Inside',
      label: 'Inside',
      h2: 'Walk the *galleries*.',
      quote: '“The substance that makes a hat noble is essentially not the hat itself, but the life attitude of the wearer.”',
      attr: '— from the gallery wall',
      zoom: 'Tap to enlarge'
    }
  },

  // 地址 / 免费开放 / 2014 揭牌 2019 备案:中国江苏网 2024 省「我最喜爱的博物馆」评选页 + 百度百科(2026-09-05 核);开放时间:王晨锡确认
  visit: {
    zh: {
      num: '06 / 参观',
      label: '参观',
      postcard: '电子明信片', postcardText: '在首页把一件文物转到你喜欢的角度，写一段话，寄给谁——四套印刷版式，可保存或直接分享。', postcardMore: '去首页寄一张',
      h2: '安排*你的*|半日。',
      dtAddr: '地址', ddAddr: '江苏省南通市崇川区新康路 98 号 · 帽饰文创园博艺楼',
      dtHours: '开放与入馆', ddHours: '冬夏开放时间', ddClosed: '每天开放，无固定闭馆日；免费参观，需提前预约。',
      seasons: [{label:'10 月—4 月（冬令时）', hours:'冬季具体时段请电话确认', last:'咨询 / 预约：0513-85675777'}, {label:'5 月—9 月（夏令时）', hours:'09:00–17:30', last:'17:00 停止入馆'}],
      phoneLabel:'咨询电话', phone:'0513-85675777', bookingLabel:'预约参观', booking:'团队参观需提前三天预约，可预约周一至周六。散客预约方式请电话咨询。',
      transportLabel:'交通与停车', transport:'地铁 1 号线至唐闸公园站，1 号口出站后向北骑行约 700 米。公交 23 / 55 / 59 / 603 路至富美帽饰博物馆站，42 路至永福路长泰路东站。',
      parking:'从南门进入园区，左转进入地下停车库。小型车辆停放于 P / M 区，大客车停于地面指定区域。',
      socialLabel:'官方账号', socialText:'微信公众号、小红书、抖音、视频号均可搜索「南通市富美帽饰博物馆」。', mapSearch:'地图搜索：南通市富美帽饰博物馆',
      dtAdm: '门票', ddAdm: '免费，需提前预约',
      dtMuseum: '资质', ddMuseum: '中国博物馆协会会员单位',
      cta1: '在展', cta2: '典藏',
      mapAria: '方位罗盘：以南通为中心，标出到各城市的方向与直线距离', compassHead: '方位 · 自南通', compassNote: '直线距离，按城市中心计算', compassHere: '南通', compassN: '北'
    },
    en: {
      num: '06 / Visit',
      label: 'Visit',
      postcard: 'E-postcard', postcardText: 'On the front page, turn an object to the angle you like, write a line and send it — four print styles, save or share.', postcardMore: 'Send one from the front page',
      h2: 'Plan *your*|afternoon.',
      dtAddr: 'Address', ddAddr: 'No. 98 Xinkang Road, Chongchuan District, Nantong City, Jiangsu Province, P.R.China · Boyi Building, Hat Creative Park',
      dtHours: 'Opening & last admission', ddHours: 'Seasonal visiting hours', ddClosed: 'Open every day, with no regular closing day. Admission is free; advance reservation is required.',
      seasons: [{label:'October–April', hours:'Please call to confirm winter hours', last:'Enquiries / reservations: +86 513 85675777'}, {label:'May–September', hours:'09:00–17:30', last:'Last admission 17:00'}],
      phoneLabel:'Enquiries', phone:'+86 513 85675777', bookingLabel:'Reservations', booking:'Groups must book three days ahead; group visits can be booked Monday–Saturday. Please call for individual booking arrangements.',
      transportLabel:'Getting here & parking', transport:'Metro Line 1 to Tangzha Park, Exit 1, then around 700 metres north by bicycle. Buses 23 / 55 / 59 / 603 to the Foremost Hat Museum stop; bus 42 to Yongfu Road–Changtai Road East.',
      parking:'Enter through the south gate and turn left into the underground car park. Cars: zones P / M. Coaches: designated ground-level spaces.',
      socialLabel:'Official accounts', socialText:'Search 南通市富美帽饰博物馆 on WeChat Official Accounts, Xiaohongshu, Douyin and WeChat Channels.', mapSearch:'Search maps for: 南通市富美帽饰博物馆',
      dtAdm: 'Admission', ddAdm: 'Free; advance reservation required',
      dtMuseum: 'Museum', ddMuseum: 'Member, Chinese Museums Association',
      cta1: 'What’s on', cta2: 'Collection',
      mapAria: 'Bearings from Nantong: direction and straight-line distance to other cities', compassHead: 'Bearings · from Nantong', compassNote: 'Great-circle distances between city centres', compassHere: 'Nantong', compassN: 'N'
    }
  },

  footer: {
    zh: {
      colMuseum: '本馆',
      name1: '南通市富美帽饰博物馆',
      name2: 'Nantong Foremost Hat Museum',
      tag: '中国首座帽饰专题博物馆',
      colVisit: '参观', v1: '开放时间', v2: '地址', v3: '关于本馆',
      colProg: '展览', p0: '920 中国帽子节', p1: '观帽 · 基本陈列', p2: '101欧洲古董蕾丝展', p3: '典藏',
      colGroup: '关联', g1: '创办人 · 孙建华', g2: '富美集团', g3: '江苏南通',
      copy: '© 2026 南通富美帽饰博物馆'
    },
    en: {
      colMuseum: 'The Museum',
      name1: '南通市富美帽饰博物馆',
      name2: 'Nantong Foremost Hat Museum',
      tag: 'China’s first headwear museum',
      colVisit: 'Visit', v1: 'Hours', v2: 'Address', v3: 'About',
      colProg: 'Programme', p0: '920 China Hat Festival', p1: '观帽 · Permanent display', p2: '101 · European Antique Lace', p3: 'Collection',
      colGroup: 'Group', g1: 'Founder · Jeffrey Sun', g2: 'Foremost Group', g3: 'Nantong, Jiangsu',
      copy: '© 2026 Nantong Foremost Hat Museum'
    }
  }
};

// 来源：馆方问卷回填2026-09-07。以下为节录与英译，不添加原文没有的尺寸/来源。
// 两件龙凤冠错误数字年份仅保留“清代”；测量器19/20世纪冲突暂不写年代。
// 宫廷冠架必须明确21世纪仿制，头盔“君王所用”缺实物来源证明不采用。
const CATALOGUE_20260907 = {
  fengguan: ['清代', 'Qing dynasty', '采用掐丝与点翠工艺，饰双龙戏珠及八仙形象。八仙与其所持宝物构成传统吉祥题材。', 'A crown combining filigree and kingfisher-feather decoration, with paired dragons, a pearl and the Eight Immortals, a traditional auspicious subject.'],
  guguguan: ['晚清', 'Late Qing dynasty', '鄂尔多斯蒙古族贵族妇女礼冠。银镶珊瑚、孔雀石，配仿真发辫，总重2,450克；馆方记录冠体与围箍饰129颗孔雀石、509克红珊瑚。由孙建华先生民间征集入藏。', 'An Ordos Mongolian noblewoman’s ceremonial headdress in silver, coral and malachite, with imitation braids. Total weight: 2,450 g. Museum records list 129 malachite stones and 509 g of red coral on the crown and circlet. Acquired from private sources by Jeffrey Sun.'],
  toukui: ['清代', 'Qing dynasty', '正面饰双龙戏珠，两侧有凤纹镂空装饰，顶部配长羽。可见金属錾刻纹样和甲片织造工艺。', 'The front carries paired dragons and a pearl, with openwork phoenix motifs at the sides and long plumes above. The piece combines chased metal decoration with woven armour plates.'],
  prussian: ['19世纪', '19th century', '普鲁士“皮克豪贝”式军盔。帽体由植鞣皮革制成，帽檐边缘饰金属。', 'A Prussian Pickelhaube-type military helmet, with a vegetable-tanned leather body and metal edging on the brim.'],
  dior: ['20世纪', '20th century', 'Christian Dior 塔班式包头帽，以黄色和墨绿色羽毛配合网纱装饰。', 'A Christian Dior turban-style hat, decorated with yellow and dark-green feathers beneath netting.'],
  hutou: ['民国', 'Republican period', '福建地区童帽，以银压花、帽花及银铃铛装饰，采用钉缝结构，带双耳桃形及帽尾花朵纹。', 'A child’s hat from Fujian, with embossed silver, floral ornaments and silver bells, stitched construction, peach-shaped ears and floral motifs on the tail.'],
  caomao: ['近现代', 'Modern period', '天然细麦秆经手工掐辫、缉缝编织，轻薄透气，旧时用于劳作遮阳纳凉。由孙建华先生民间征集入藏。', 'Fine natural wheat straw is plaited and stitched by hand into a lightweight hat traditionally worn for shade during outdoor work. Acquired from private sources by Jeffrey Sun.'],
  'yin-longfeng': ['清代', 'Qing dynasty', '以龙凤为装饰的礼冠，采用银与点翠工艺。龙凤组合是传统吉祥纹样。', 'A ceremonial crown in silver with kingfisher-feather decoration, featuring the traditional auspicious pairing of dragon and phoenix.'],
  'yin-longfeng2': ['清代', 'Qing dynasty', '以龙凤为装饰的礼冠，采用银与点翠工艺。本件与同名另一件分别展示。', 'A ceremonial crown in silver with kingfisher-feather decoration and dragon-and-phoenix motifs. Displayed separately from the other crown with the same name.'],
  'dianzi-huahui': ['清代', 'Qing dynasty', '黑色丝绒绕铁丝构成底部骨架，点翠花饰包含双龙、花卉和“日”“月”文字。', 'A wire framework wrapped in black velvet supports kingfisher-feather ornaments with paired dragons, flowers and the characters for sun and moon.'],
  'dianzi-dujin': ['晚清至民国', 'Late Qing to Republican period', '金属丝骨架外缠黑色丝织物，形成网状纹饰，再添置翠羽及簪饰。', 'A metal-wire framework wrapped in black silk forms an open network, decorated with kingfisher feathers and hair ornaments.'],
  'dianzi-shaolan': ['晚清至民国', 'Late Qing to Republican period', '内部以铁丝支撑，外层纸缠线编织；顶部及前方有嵌宝石和烧蓝蝶恋花装饰。', 'An internal wire structure supports a woven, paper-wrapped thread exterior, with gemstones and blue-enamel butterfly-and-flower decoration at the top and front.'],
  'dianzi-liyu': ['晚清至民国', 'Late Qing to Republican period', '黑色丝绒缠绕铁丝为骨架，铜镀金底托配点翠及珍珠、珊瑚、玉石、碧玺等装饰，呈双龙、鲤鱼与花卉造型。', 'Black velvet wraps a wire framework, with gilt-copper mounts, kingfisher feathers, pearls, coral, jade and tourmaline forming paired dragons, carp and flowers.'],
  'falang-jia': ['21世纪 · 仿制品', '21st century · reproduction', '仿清代宫廷冠架，由冠伞、梃手和底座组成，饰花卉等纹样，底部仿“乾隆年制”款。款识不代表本件制作年代。', 'A modern reproduction of a Qing court hat stand, comprising a canopy, stem and base with floral decoration. Its imitation Qianlong reign mark does not date the manufacture of this object.'],
  'qihua-jia': ['清代', 'Qing dynasty', '杂木制成，表面擦漆。方胜纹雕花板可十字交叉插合，放于条案上承托冠帽。', 'A lacquered mixed-wood stand with carved interlocking-lozenge panels that slot together crosswise to support a hat on a table.'],
  'diaohua-jia': ['清代', 'Qing dynasty', '雕花木质帽架，用于承托冠帽，使帽翎悬空，兼具实用与装饰功能。', 'A carved wooden stand supporting a hat with its plume clear of the surface, combining practical and decorative functions.'],
  celiangqi: ['', '', '制帽用头型测量器，借助弹簧和木键在纸上留下对应头部轮廓的孔洞，供制作合适的帽型参考。', 'A hatmaker’s head-measuring device. Springs and wooden keys mark a head outline as perforations in paper to guide the shaping of a fitted hat.'],
  gainian: ['21世纪', '21st century', '将柯达 Kodak 皮腔折叠相机固定于帽上，把帽饰与摄影器材结合为概念创作。', 'A concept headpiece combining a hat with a mounted Kodak folding bellows camera.'],
  c20230: ['晚清', 'Late Qing dynasty', '馆方称为虎头帽，内部为蓝色布料，帽身绣寿字，帽头与帽顶饰云纹。正式藏品名称待补。', 'Described by the museum as a tiger-head hat, with blue fabric inside, an embroidered longevity character and cloud motifs. Its formal catalogue title is pending.']
};
T.objects.forEach(o => {
  const entry = CATALOGUE_20260907[o.slug];
  if (entry) [o.zhEra, o.enEra, o.zhDescription, o.enDescription] = entry;
});
T.objects.find(o => o.slug === 'dior').zhSub = '羽毛 · 网纱';
T.objects.find(o => o.slug === 'dior').enSub = 'Feathers · netting';
T.objects.find(o => o.slug === 'falang-jia').zh = '清宫廷画珐琅冠架（仿制品）';
T.objects.find(o => o.slug === 'falang-jia').en = 'Qing court painted-enamel hat stand (reproduction)';

// rich(str) — 把标记语法渲染成 JSX: | → <br/>,*…* → <span class="em">
function rich(str) {
  return String(str).split('|').map((line, li, arr) => (
    <React.Fragment key={li}>
      {line.split(/(\*[^*]+\*)/).map((seg, si) =>
        seg.startsWith('*') && seg.endsWith('*') && seg.length > 2
          ? <span className="em" key={si}>{seg.slice(1, -1)}</span>
          : <React.Fragment key={si}>{seg}</React.Fragment>
      )}
      {li < arr.length - 1 ? <br /> : null}
    </React.Fragment>
  ));
}

Object.assign(window, { T, rich });
