@funhub/platform 0.2.31 → 0.2.33
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/_virtual/_rolldown/runtime.mjs +1 -18
- package/dist/assets/icons/channel-list/channel-active-indicator.mjs +1 -31
- package/dist/assets/icons/clear.mjs +1 -17
- package/dist/assets/icons/close-icon.mjs +1 -18
- package/dist/assets/icons/close.mjs +1 -14
- package/dist/assets/icons/common/collect_nor.mjs +1 -21
- package/dist/assets/icons/common/collect_sel.mjs +1 -21
- package/dist/assets/icons/common/follow_sel.mjs +1 -17
- package/dist/assets/icons/common/follow_user.mjs +1 -17
- package/dist/assets/icons/common/full_screen.mjs +1 -17
- package/dist/assets/icons/common/god_comment.mjs +1 -17
- package/dist/assets/icons/common/header-menu.mjs +1 -29
- package/dist/assets/icons/common/header-search-icon.mjs +1 -17
- package/dist/assets/icons/common/heart-like.mjs +1 -31
- package/dist/assets/icons/common/heart-unlike.mjs +1 -18
- package/dist/assets/icons/common/qq.mjs +1 -32
- package/dist/assets/icons/common/right_arrow.mjs +1 -14
- package/dist/assets/icons/common/right_arrow_thin.mjs +1 -17
- package/dist/assets/icons/common/share.mjs +1 -17
- package/dist/assets/icons/common/solid-arrow.mjs +1 -17
- package/dist/assets/icons/common/video_play.mjs +1 -18
- package/dist/assets/icons/common/wechat-friends.mjs +1 -40
- package/dist/assets/icons/common/wechat.mjs +1 -39
- package/dist/assets/icons/detail/check-ok.mjs +1 -17
- package/dist/assets/icons/detail/comment.mjs +1 -19
- package/dist/assets/icons/detail/commet_at.mjs +1 -53
- package/dist/assets/icons/detail/give_like.mjs +1 -20
- package/dist/assets/icons/detail/give_like_sel.mjs +1 -27
- package/dist/assets/icons/detail/min-collection.mjs +1 -38
- package/dist/assets/icons/detail/publish_pic.mjs +1 -27
- package/dist/assets/icons/detail/publish_video.mjs +1 -30
- package/dist/assets/icons/detail/un_like.mjs +1 -20
- package/dist/assets/icons/detail/un_like_sel.mjs +1 -27
- package/dist/assets/icons/detail/video_flag.mjs +1 -17
- package/dist/assets/icons/detail/video_play.mjs +1 -18
- package/dist/assets/icons/dislike.mjs +1 -20
- package/dist/assets/icons/dislike_sel.mjs +1 -27
- package/dist/assets/icons/empty/img-empty-adduser.mjs +1 -463
- package/dist/assets/icons/empty/img-empty-nodata.mjs +1 -194
- package/dist/assets/icons/eye-icon.mjs +1 -21
- package/dist/assets/icons/eye-off-icon.mjs +1 -24
- package/dist/assets/icons/filter_dark.mjs +1 -17
- package/dist/assets/icons/follow_nor.mjs +1 -44
- package/dist/assets/icons/follow_sel.mjs +1 -31
- package/dist/assets/icons/left-arrow-icon.mjs +1 -18
- package/dist/assets/icons/left_arrow.mjs +1 -14
- package/dist/assets/icons/like.mjs +1 -20
- package/dist/assets/icons/like_sel.mjs +1 -27
- package/dist/assets/icons/marquee-close.mjs +1 -29
- package/dist/assets/icons/marquee-enter.mjs +1 -17
- package/dist/assets/icons/marquee-speaker.mjs +1 -22
- package/dist/assets/icons/publish/publish_add.mjs +1 -17
- package/dist/assets/icons/publish/publish_at.mjs +1 -53
- package/dist/assets/icons/publish/publish_collection.mjs +1 -28
- package/dist/assets/icons/publish/publish_pic.mjs +1 -27
- package/dist/assets/icons/publish/publish_video.mjs +1 -30
- package/dist/assets/icons/refresh.mjs +1 -18
- package/dist/assets/icons/search/filter.mjs +1 -17
- package/dist/assets/icons/search.mjs +1 -23
- package/dist/assets/icons/share/share-link.mjs +1 -39
- package/dist/assets/icons/tabs/follow.mjs +1 -20
- package/dist/assets/icons/tabs/follow_active.mjs +1 -17
- package/dist/assets/icons/tabs/home.mjs +1 -17
- package/dist/assets/icons/tabs/home_active.mjs +1 -17
- package/dist/assets/icons/tabs/mine.mjs +1 -26
- package/dist/assets/icons/tabs/mine_active.mjs +1 -17
- package/dist/assets/icons/view.mjs +1 -17
- package/dist/assets/images/add.mjs +1 -5
- package/dist/assets/images/default_avatar.mjs +1 -5
- package/dist/assets/images/default_collection_cover.mjs +1 -5
- package/dist/assets/images/empty/img_empty_adduser.mjs +1 -463
- package/dist/assets/images/empty/img_empty_message.mjs +1 -408
- package/dist/assets/images/empty/img_empty_network.mjs +1 -168
- package/dist/assets/images/empty/img_empty_nodata.mjs +1 -194
- package/dist/assets/images/empty/img_empty_picture.mjs +1 -59
- package/dist/assets/images/empty/img_empty_search.mjs +1 -250
- package/dist/assets/images/frame.mjs +1 -5
- package/dist/assets/images/less.mjs +1 -5
- package/dist/assets/images/logo.mjs +1 -5
- package/dist/assets/images/shortcut-grid/shortcut-grid-card-bg-primary.mjs +1 -29
- package/dist/assets/images/subscript.mjs +1 -5
- package/dist/assets/images/user/default_avatar.mjs +1 -5
- package/dist/biz.mjs +1 -169
- package/dist/cli/init/create-client.mjs +1 -12
- package/dist/cli/init/create-sdk.mjs +1 -12
- package/dist/cli/init/shared/command.mjs +1 -31
- package/dist/cli/init/shared/constants.mjs +1 -24
- package/dist/cli/init/shared/create-project.mjs +2 -58
- package/dist/cli/init/shared/file.mjs +1 -21
- package/dist/cli/init/shared/package-manager.mjs +1 -42
- package/dist/cli/init/shared/prompts.mjs +1 -107
- package/dist/cli/init/shared/template.mjs +1 -66
- package/dist/cli.mjs +2 -128
- package/dist/common.mjs +1 -51
- package/dist/components/biz/basics/card-item/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/card-item/runtime/client.mjs +1 -83
- package/dist/components/biz/basics/card-item/runtime/corners.mjs +1 -33
- package/dist/components/biz/basics/card-item/schema/component.mjs +1 -14
- package/dist/components/biz/basics/card-item/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/card-item/schema/event.schema.mjs +1 -8
- package/dist/components/biz/basics/card-item/schema/index.mjs +1 -17
- package/dist/components/biz/basics/card-item/schema/props.schema.mjs +1 -18
- package/dist/components/biz/basics/card-item/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/card-layout/defaults/default-props.mjs +1 -13
- package/dist/components/biz/basics/card-layout/runtime/client.mjs +1 -38
- package/dist/components/biz/basics/card-layout/schema/component.mjs +1 -14
- package/dist/components/biz/basics/card-layout/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/card-layout/schema/event.schema.mjs +1 -5
- package/dist/components/biz/basics/card-layout/schema/index.mjs +1 -17
- package/dist/components/biz/basics/card-layout/schema/props.schema.mjs +1 -28
- package/dist/components/biz/basics/card-layout/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/fullscreen-feed/basic-fullscreen.mjs +1 -268
- package/dist/components/biz/basics/fullscreen-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/basics/fullscreen-feed/index.mjs +1 -12
- package/dist/components/biz/basics/fullscreen-feed/runtime/adapters.mjs +1 -97
- package/dist/components/biz/basics/fullscreen-feed/runtime/bottom-info.mjs +1 -125
- package/dist/components/biz/basics/fullscreen-feed/runtime/client.mjs +1 -390
- package/dist/components/biz/basics/fullscreen-feed/runtime/comment-modal.mjs +1 -107
- package/dist/components/biz/basics/fullscreen-feed/runtime/interaction-sync.mjs +1 -134
- package/dist/components/biz/basics/fullscreen-feed/runtime/post-slide.mjs +1 -232
- package/dist/components/biz/basics/fullscreen-feed/runtime/styles.module.mjs +152 -25
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-mixed-feed-controller.mjs +1 -193
- package/dist/components/biz/basics/fullscreen-feed/runtime/use-series-feed-controller.mjs +1 -212
- package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +1 -270
- package/dist/components/biz/basics/fullscreen-feed/runtime/video-slide.mjs +1 -376
- package/dist/components/biz/basics/fullscreen-feed/schema/component.mjs +1 -14
- package/dist/components/biz/basics/fullscreen-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/basics/fullscreen-feed/schema/event.schema.mjs +1 -13
- package/dist/components/biz/basics/fullscreen-feed/schema/index.mjs +1 -17
- package/dist/components/biz/basics/fullscreen-feed/schema/props.schema.mjs +1 -20
- package/dist/components/biz/basics/fullscreen-feed/schema/style.schema.mjs +1 -5
- package/dist/components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs +1 -19
- package/dist/components/biz/basics/logo/variants/basic-logo/index.mjs +1 -9
- package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +1 -171
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/component.mjs +1 -14
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/data.schema.mjs +1 -9
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/event.schema.mjs +1 -23
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/index.mjs +1 -17
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/props.schema.mjs +1 -78
- package/dist/components/biz/basics/logo/variants/basic-logo/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/shared/components/search-box.mjs +1 -56
- package/dist/components/biz/basics/search/shared/config/default-data.mjs +1 -15
- package/dist/components/biz/basics/search/shared/config/schema.mjs +1 -50
- package/dist/components/biz/basics/search/variants/basic-search/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/search/variants/basic-search/index.mjs +1 -12
- package/dist/components/biz/basics/search/variants/basic-search/runtime/client.mjs +1 -33
- package/dist/components/biz/basics/search/variants/basic-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/basic-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/basic-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/basic-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/basic-search/schema/props.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/basic-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/filter-search/defaults/default-props.mjs +1 -14
- package/dist/components/biz/basics/search/variants/filter-search/index.mjs +1 -12
- package/dist/components/biz/basics/search/variants/filter-search/runtime/client.mjs +1 -63
- package/dist/components/biz/basics/search/variants/filter-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/filter-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/filter-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/filter-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/filter-search/schema/props.schema.mjs +1 -22
- package/dist/components/biz/basics/search/variants/filter-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/defaults/default-props.mjs +1 -10
- package/dist/components/biz/basics/search/variants/simple-search/index.mjs +1 -9
- package/dist/components/biz/basics/search/variants/simple-search/runtime/client.mjs +1 -37
- package/dist/components/biz/basics/search/variants/simple-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/simple-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/simple-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/simple-search/schema/props.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/simple-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/tag-search/defaults/default-props.mjs +1 -18
- package/dist/components/biz/basics/search/variants/tag-search/index.mjs +1 -9
- package/dist/components/biz/basics/search/variants/tag-search/runtime/client.mjs +1 -67
- package/dist/components/biz/basics/search/variants/tag-search/schema/component.mjs +1 -14
- package/dist/components/biz/basics/search/variants/tag-search/schema/data.schema.mjs +1 -8
- package/dist/components/biz/basics/search/variants/tag-search/schema/event.schema.mjs +1 -7
- package/dist/components/biz/basics/search/variants/tag-search/schema/index.mjs +1 -17
- package/dist/components/biz/basics/search/variants/tag-search/schema/props.schema.mjs +1 -37
- package/dist/components/biz/basics/search/variants/tag-search/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/advertisement/ad-match.mjs +1 -142
- package/dist/components/biz/business/advertisement/ad-provider.mjs +1 -50
- package/dist/components/biz/business/advertisement/ad-query.mjs +1 -39
- package/dist/components/biz/business/advertisement/ad-runtime-provider.mjs +1 -21
- package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -274
- package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -55
- package/dist/components/biz/business/advertisement/banner-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/feed-ad/index.mjs +1 -36
- package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -109
- package/dist/components/biz/business/advertisement/floating-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/floating-ad/schema.mjs +1 -11
- package/dist/components/biz/business/advertisement/floating-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -187
- package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -42
- package/dist/components/biz/business/advertisement/icon-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/popup-ad/client.mjs +2 -203
- package/dist/components/biz/business/advertisement/popup-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -48
- package/dist/components/biz/business/advertisement/popup-ad/server.mjs +1 -24
- package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -370
- package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -21
- package/dist/components/biz/business/advertisement/text-ad/schema.mjs +1 -34
- package/dist/components/biz/business/advertisement/text-ad/server.mjs +1 -24
- package/dist/components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/banner/variants/basic-banner/index.mjs +1 -12
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -62
- package/dist/components/biz/business/banner/variants/basic-banner/material.mjs +1 -21
- package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +1 -140
- package/dist/components/biz/business/banner/variants/basic-banner/schema/component.mjs +1 -14
- package/dist/components/biz/business/banner/variants/basic-banner/schema/data.schema.mjs +1 -53
- package/dist/components/biz/business/banner/variants/basic-banner/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/banner/variants/basic-banner/schema/index.mjs +1 -17
- package/dist/components/biz/business/banner/variants/basic-banner/schema/props.schema.mjs +1 -40
- package/dist/components/biz/business/banner/variants/basic-banner/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/banner/variants/basic-banner/server.mjs +1 -25
- package/dist/components/biz/business/banner-carousel/client.mjs +1 -133
- package/dist/components/biz/business/banner-carousel/default-props.mjs +1 -15
- package/dist/components/biz/business/banner-carousel/material.mjs +1 -22
- package/dist/components/biz/business/banner-carousel/schema.mjs +1 -94
- package/dist/components/biz/business/banner-carousel/server.mjs +1 -87
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/runtime/client.mjs +1 -106
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/runtime/client.mjs +1 -41
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs +1 -9
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/runtime/client.mjs +1 -106
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/component.mjs +1 -14
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs +1 -17
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/props.schema.mjs +1 -12
- package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/channel-list/channel-filter-dialog.mjs +1 -190
- package/dist/components/biz/business/channel-list/client.mjs +1 -157
- package/dist/components/biz/business/channel-list/default-props.mjs +1 -13
- package/dist/components/biz/business/channel-list/material.mjs +1 -21
- package/dist/components/biz/business/channel-list/schema.mjs +1 -40
- package/dist/components/biz/business/comment/comment-input.mjs +5 -772
- package/dist/components/biz/business/comment/comment-item.mjs +1 -182
- package/dist/components/biz/business/comment/comment-list.mjs +1 -722
- package/dist/components/biz/business/comment/comment-media.mjs +1 -57
- package/dist/components/biz/business/comment/comment-rich-text.mjs +1 -69
- package/dist/components/biz/business/comment/reply-detail.mjs +1 -969
- package/dist/components/biz/business/comment/time-display.mjs +1 -20
- package/dist/components/biz/business/comment/use-keyboard-handler.mjs +1 -142
- package/dist/components/biz/business/contact/contact-item.mjs +1 -45
- package/dist/components/biz/business/contact/contact-list.mjs +1 -212
- package/dist/components/biz/business/contact/contact-search.mjs +1 -128
- package/dist/components/biz/business/detail/shared/detail-follow-action.mjs +1 -114
- package/dist/components/biz/business/detail/shared/detail-info-tags.mjs +1 -33
- package/dist/components/biz/business/detail/shared/detail-info-title.mjs +1 -84
- package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -432
- package/dist/components/biz/business/detail/shared/detail-structured-data.mjs +1 -63
- package/dist/components/biz/business/detail/shared/editor-preview.mjs +1 -67
- package/dist/components/biz/business/detail/shared/material-route-context.mjs +1 -44
- package/dist/components/biz/business/detail/shared/metadata-utils.mjs +1 -21
- package/dist/components/biz/business/detail/shared/post-recommend-list.mjs +1 -184
- package/dist/components/biz/business/detail/shared/registry.mjs +1 -55
- package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -225
- package/dist/components/biz/business/detail/shared/seo-config.mjs +1 -28
- package/dist/components/biz/business/detail/shared/use-video-detail-webview-bridge.mjs +1 -320
- package/dist/components/biz/business/detail/shared/video-detail-server-data.mjs +1 -46
- package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -902
- package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -97
- package/dist/components/biz/business/detail/video-detail-actions/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -11
- package/dist/components/biz/business/detail/video-detail-actions/server.mjs +1 -47
- package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -201
- package/dist/components/biz/business/detail/video-detail-info/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -14
- package/dist/components/biz/business/detail/video-detail-info/server.mjs +1 -45
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.mjs +1 -51
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -14
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.mjs +1 -45
- package/dist/components/biz/business/detail/video-detail-player/client.mjs +1 -136
- package/dist/components/biz/business/detail/video-detail-player/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -11
- package/dist/components/biz/business/detail/video-detail-player/server.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/client.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/schema.mjs +1 -13
- package/dist/components/biz/business/detail/video-detail-player-bridge-only/server.mjs +1 -17
- package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -89
- package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -18
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -35
- package/dist/components/biz/business/detail/video-detail-recommend/server.mjs +1 -35
- package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +1 -548
- package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +1 -60
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs +1 -12
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs +1 -9
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/runtime/client.mjs +1 -66
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/component.mjs +1 -14
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/data.schema.mjs +1 -43
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs +1 -17
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/props.schema.mjs +1 -32
- package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/floating-ball/client.mjs +1 -31
- package/dist/components/biz/business/floating-ball/material.mjs +1 -18
- package/dist/components/biz/business/floating-ball/schema.mjs +1 -20
- package/dist/components/biz/business/floating-ball/server.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs +1 -9
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/runtime/client.mjs +1 -71
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/component.mjs +1 -14
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs +1 -9
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/runtime/client.mjs +1 -64
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/component.mjs +1 -14
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/data.schema.mjs +1 -11
- package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs +1 -17
- package/dist/components/biz/business/fullscreen-feed/variants/shared/runtime-compat.mjs +1 -522
- package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -21
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -11
- package/dist/components/biz/business/header-search/header-avatar-icon/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -142
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -23
- package/dist/components/biz/business/header-search/header-avatar-logo-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -38
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -20
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -32
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -22
- package/dist/components/biz/business/header-search/header-logo-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/header-search/client.mjs +1 -19
- package/dist/components/biz/business/header-search/header-search/material.mjs +1 -18
- package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -11
- package/dist/components/biz/business/header-search/header-search/server.mjs +1 -17
- package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -53
- package/dist/components/biz/business/header-search/shared/header-action.mjs +1 -29
- package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +1 -26
- package/dist/components/biz/business/header-search/shared/header-shell.mjs +1 -21
- package/dist/components/biz/business/header-search/shared/logo.mjs +1 -25
- package/dist/components/biz/business/header-search/shared/search.mjs +1 -47
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.mjs +1 -48
- package/dist/components/biz/business/home-recommend/home-recommend-grid/index.mjs +1 -14
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -229
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.mjs +1 -18
- package/dist/components/biz/business/home-recommend/home-recommend-grid/schema.mjs +1 -24
- package/dist/components/biz/business/home-recommend/home-recommend-grid/server.mjs +1 -48
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +1 -47
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.mjs +1 -14
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -211
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +1 -18
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs +1 -24
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/server.mjs +1 -42
- package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -890
- package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +1 -24
- package/dist/components/biz/business/home-recommend/shared/home-recommend-play-count.mjs +1 -31
- package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -178
- package/dist/components/biz/business/home-recommend/shared/home-recommend-runtime-props.mjs +1 -47
- package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -336
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-layout.mjs +1 -73
- package/dist/components/biz/business/home-recommend/shared/home-recommend-smart-tag.mjs +1 -21
- package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +1 -73
- package/dist/components/biz/business/image-text-recommend/client.mjs +1 -436
- package/dist/components/biz/business/image-text-recommend/material.mjs +1 -21
- package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -79
- package/dist/components/biz/business/image-text-recommend/server.mjs +1 -53
- package/dist/components/biz/business/image-text-recommend/shared/query.mjs +1 -33
- package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -106
- package/dist/components/biz/business/large-feature-grid/client.mjs +1 -256
- package/dist/components/biz/business/large-feature-grid/material.mjs +1 -21
- package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -127
- package/dist/components/biz/business/large-feature-grid/server.mjs +1 -16
- package/dist/components/biz/business/marquee/client.mjs +1 -303
- package/dist/components/biz/business/marquee/material.mjs +1 -21
- package/dist/components/biz/business/marquee/schema.mjs +1 -86
- package/dist/components/biz/business/marquee/server.mjs +1 -17
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs +1 -21
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs +1 -9
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/channel-filter-dialog.mjs +1 -180
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -159
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/event.schema.mjs +1 -27
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/props.schema.mjs +1 -92
- package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs +1 -8
- package/dist/components/biz/business/post-card/variants/basic-post-card/index.mjs +1 -9
- package/dist/components/biz/business/post-card/variants/basic-post-card/runtime/client.mjs +1 -119
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/component.mjs +1 -14
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/data.schema.mjs +1 -8
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/index.mjs +1 -17
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/props.schema.mjs +1 -5
- package/dist/components/biz/business/post-card/variants/basic-post-card/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/profile/profile-header/client.mjs +1 -343
- package/dist/components/biz/business/profile/profile-header/material.mjs +1 -59
- package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -11
- package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -262
- package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -182
- package/dist/components/biz/business/profile/profile-main/client.mjs +1 -235
- package/dist/components/biz/business/profile/profile-main/empty-state.mjs +1 -43
- package/dist/components/biz/business/profile/profile-main/material.mjs +1 -18
- package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -11
- package/dist/components/biz/business/profile/profile-main/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -275
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -747
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +1 -178
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -259
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -258
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +1 -149
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs +1 -13
- package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -266
- package/dist/components/biz/business/profile/profile-main/variants.mjs +1 -40
- package/dist/components/biz/business/profile/tracking.mjs +1 -19
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs +1 -9
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/client.mjs +1 -168
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/recommended-users-skeleton.mjs +1 -119
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/component.mjs +1 -14
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/event.schema.mjs +1 -17
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs +1 -17
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/props.schema.mjs +1 -54
- package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/runtime/client.mjs +1 -54
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/props.schema.mjs +1 -117
- package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs +1 -22
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/runtime/client.mjs +1 -53
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/event.schema.mjs +1 -5
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/props.schema.mjs +1 -117
- package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/index.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/runtime/client.mjs +1 -52
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/event.schema.mjs +1 -25
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/props.schema.mjs +1 -128
- package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs +1 -15
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/index.mjs +1 -12
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/runtime/client.mjs +1 -58
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/component.mjs +1 -14
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/data.schema.mjs +1 -9
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/event.schema.mjs +1 -38
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs +1 -17
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/props.schema.mjs +1 -144
- package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/style.schema.mjs +1 -7
- package/dist/components/biz/business/search-history/client.mjs +1 -182
- package/dist/components/biz/business/search-history/material.mjs +1 -18
- package/dist/components/biz/business/search-history/schema.mjs +1 -16
- package/dist/components/biz/business/search-history/server.mjs +1 -17
- package/dist/components/biz/business/search-input/client.mjs +1 -115
- package/dist/components/biz/business/search-input/material.mjs +1 -18
- package/dist/components/biz/business/search-input/schema.mjs +1 -11
- package/dist/components/biz/business/search-input/server.mjs +1 -17
- package/dist/components/biz/business/shortcut-grid/client.mjs +1 -86
- package/dist/components/biz/business/shortcut-grid/material.mjs +1 -18
- package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -65
- package/dist/components/biz/business/shortcut-grid/server.mjs +1 -17
- package/dist/components/biz/business/tab-bar/client.mjs +1 -157
- package/dist/components/biz/business/tab-bar/material.mjs +1 -21
- package/dist/components/biz/business/tab-bar/schema.mjs +1 -11
- package/dist/components/biz/business/tab-bar/server.mjs +1 -17
- package/dist/components/biz/business/text-recommend/client.mjs +1 -104
- package/dist/components/biz/business/text-recommend/material.mjs +1 -18
- package/dist/components/biz/business/text-recommend/schema.mjs +1 -25
- package/dist/components/biz/business/text-recommend/server.mjs +1 -18
- package/dist/components/biz/example/button/client.mjs +1 -43
- package/dist/components/biz/example/button/material.mjs +1 -18
- package/dist/components/biz/example/button/schema.mjs +1 -44
- package/dist/components/biz/example/button/server.mjs +1 -32
- package/dist/components/biz/example/button/variants.mjs +1 -22
- package/dist/components/biz/renderer/renderer.mjs +1 -73
- package/dist/components/biz/utils/constants/card-spec.mjs +1 -48
- package/dist/components/biz/utils/helpers/get-channel-list.mjs +1 -14
- package/dist/components/biz/utils/helpers/url.mjs +1 -16
- package/dist/components/biz/utils/schema/data.mjs +1 -22
- package/dist/components/biz/utils/styles/helpers.mjs +1 -84
- package/dist/components/biz/utils/styles/schema.mjs +1 -306
- package/dist/components/biz/utils/transformers/card-grid.mjs +1 -67
- package/dist/components/biz/utils/transformers/data.mjs +1 -171
- package/dist/components/common/analytics-init/analytics-init.mjs +1 -75
- package/dist/components/common/analytics-init/page-lifecycle-tracker.mjs +1 -248
- package/dist/components/common/analytics-init/sensor-init.mjs +1 -126
- package/dist/components/common/at-element/index.mjs +1 -47
- package/dist/components/common/background-preview-modal/background-preview-modal.mjs +1 -73
- package/dist/components/common/blocked-dialog/blocked-dialog.mjs +1 -54
- package/dist/components/common/cards/mini-three-card.mjs +1 -55
- package/dist/components/common/cards/style.module.mjs +24 -12
- package/dist/components/common/collection-popup/create-collection-sheet.mjs +1 -271
- package/dist/components/common/collection-popup/index.mjs +1 -293
- package/dist/components/common/debug-locale-switcher/index.mjs +1 -59
- package/dist/components/common/delete-confirm-dialog/delete-confirm-dialog.mjs +1 -66
- package/dist/components/common/empty/index.mjs +1 -51
- package/dist/components/common/follow-button/index.mjs +1 -133
- package/dist/components/common/follow-button/unfollow-confirm-dialog.mjs +1 -23
- package/dist/components/common/funhub-provider/funhub-provider.mjs +1 -50
- package/dist/components/common/header-nav/client.mjs +1 -51
- package/dist/components/common/icons/add.mjs +1 -21
- package/dist/components/common/icons/comment.mjs +1 -30
- package/dist/components/common/icons/delete.mjs +1 -32
- package/dist/components/common/icons/left-arrow.mjs +1 -15
- package/dist/components/common/icons/more.mjs +1 -30
- package/dist/components/common/icons/right-arrow.mjs +1 -19
- package/dist/components/common/icons/setting.mjs +1 -27
- package/dist/components/common/icons/share.mjs +1 -20
- package/dist/components/common/icons/video.mjs +1 -22
- package/dist/components/common/image-crop-modal/image-crop-modal.mjs +2 -128
- package/dist/components/common/info-card/card-header.mjs +1 -71
- package/dist/components/common/info-card/card-text.mjs +1 -49
- package/dist/components/common/interaction-animations.module.mjs +84 -14
- package/dist/components/common/intl-provider/intl-provider.mjs +1 -21
- package/dist/components/common/keep-scroll-position/index.mjs +1 -39
- package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -139
- package/dist/components/common/list/collection-list/collection-list.mjs +1 -27
- package/dist/components/common/list/collection-list/collection-select-icon.mjs +1 -53
- package/dist/components/common/list/post-list/post-list-item.mjs +1 -54
- package/dist/components/common/list/post-list/post-list.mjs +1 -143
- package/dist/components/common/list/user-activity-list/user-activity-list-actions.mjs +1 -269
- package/dist/components/common/list/user-activity-list/user-activity-list-item.mjs +1 -469
- package/dist/components/common/list/user-activity-list/user-activity-list.mjs +1 -143
- package/dist/components/common/list/video-list/video-list-item.mjs +1 -100
- package/dist/components/common/list/video-list/video-list.mjs +1 -152
- package/dist/components/common/list/waterfall-recommend/recommend-badge-style.mjs +1 -18
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend-display.mjs +1 -26
- package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +1 -183
- package/dist/components/common/locale-sync/locale-sync.mjs +1 -62
- package/dist/components/common/login-dialog/login-dialog.mjs +1 -46
- package/dist/components/common/media-preview/index.mjs +1 -162
- package/dist/components/common/media-preview/video-play.mjs +1 -237
- package/dist/components/common/page-loading/index.mjs +1 -20
- package/dist/components/common/page-skeleton/page-skeleton.mjs +1 -7
- package/dist/components/common/photo-grid/common-photo-grid.mjs +1 -321
- package/dist/components/common/photo-grid/index.mjs +1 -226
- package/dist/components/common/photo-preview/common-photo-preview.mjs +1 -97
- package/dist/components/common/photo-preview/decrypt-loading.mjs +2 -66
- package/dist/components/common/photo-preview/index.mjs +1 -64
- package/dist/components/common/photo-preview/style.mjs +19 -7
- package/dist/components/common/picker/gender-picker/gender-picker.mjs +1 -66
- package/dist/components/common/picker/picker-drawer/picker-drawer.mjs +1 -78
- package/dist/components/common/popup-video/index.mjs +1 -98
- package/dist/components/common/popup-video/popup-video.module.mjs +16 -7
- package/dist/components/common/series-episodes/index.mjs +1 -826
- package/dist/components/common/share-popup/share-content.mjs +1 -155
- package/dist/components/common/share-popup/share-drawer.mjs +1 -100
- package/dist/components/common/share-popup/share-popup.mjs +1 -326
- package/dist/components/common/skeleton/post-list-item-skeleton.mjs +1 -99
- package/dist/components/common/skeleton/user-activity-list-item-skeleton.mjs +1 -146
- package/dist/components/common/skeleton/video-list-item-skeleton.mjs +1 -110
- package/dist/components/common/tab-bar/index.mjs +1 -150
- package/dist/components/common/theme-sync/index.mjs +1 -22
- package/dist/components/common/top-nav-bar/client.mjs +1 -70
- package/dist/components/common/top-nav-bar/fullscreen.mjs +1 -27
- package/dist/components/common/top-nav-bar/index.mjs +1 -29
- package/dist/components/common/top-nav-bar/normal.mjs +1 -20
- package/dist/components/common/user-info-initializer/index.mjs +1 -37
- package/dist/components/common/video-player/create-video.mjs +2 -27
- package/dist/components/common/video-player/index.mjs +5 -700
- package/dist/components/common/video-player/playing-videos.mjs +1 -73
- package/dist/components/common/video-player/preroll-skip-button-content.mjs +1 -20
- package/dist/components/common/video-player/process-m3u8-cache.mjs +1 -281
- package/dist/components/common/video-player/style.module.mjs +260 -7
- package/dist/components/common/video-player/video-blind-ad-overlay.mjs +1 -155
- package/dist/components/common/video-player/video-player-ref-context.mjs +1 -18
- package/dist/components/common/video-player/video-preroll-ad-overlay.mjs +1 -167
- package/dist/components/common/video-player/video-preroll-ad.mjs +1 -187
- package/dist/components/common/wait-loading.mjs +1 -119
- package/dist/components/pages/(follow)/_components/follow-button/index.mjs +1 -80
- package/dist/components/pages/(follow)/_components/header-nav/index.mjs +1 -13
- package/dist/components/pages/(follow)/_components/interaction-tabs/index.mjs +1 -44
- package/dist/components/pages/(follow)/_components/user-list/index.mjs +1 -139
- package/dist/components/pages/(follow)/_components/user-list/user-list-item.mjs +1 -46
- package/dist/components/pages/(follow)/fans/index.mjs +1 -10
- package/dist/components/pages/(follow)/fans/page.mjs +1 -95
- package/dist/components/pages/(follow)/followed/index.mjs +1 -10
- package/dist/components/pages/(follow)/followed/page.mjs +1 -95
- package/dist/components/pages/collection-add/index.mjs +1 -10
- package/dist/components/pages/collection-add/page.mjs +1 -164
- package/dist/components/pages/collection-create/form.mjs +1 -164
- package/dist/components/pages/collection-create/index.mjs +1 -10
- package/dist/components/pages/collection-create/page.mjs +1 -28
- package/dist/components/pages/collection-detail/_components/collection-detail-card.mjs +1 -183
- package/dist/components/pages/collection-detail/_components/collection-detail-video-card.mjs +1 -135
- package/dist/components/pages/collection-detail/detail.mjs +1 -539
- package/dist/components/pages/collection-detail/index.mjs +1 -10
- package/dist/components/pages/collection-detail/page.mjs +1 -18
- package/dist/components/pages/edit/index.mjs +1 -10
- package/dist/components/pages/edit/page.mjs +1 -683
- package/dist/components/pages/feed-series/feed-series-client.mjs +1 -383
- package/dist/components/pages/feed-series/page.mjs +1 -97
- package/dist/components/pages/feedback/_components/feedback-form.mjs +1 -271
- package/dist/components/pages/feedback/index.mjs +1 -10
- package/dist/components/pages/feedback/page.mjs +1 -10
- package/dist/components/pages/fullscreen-feed/index.mjs +1 -10
- package/dist/components/pages/fullscreen-feed/page.mjs +1 -105
- package/dist/components/pages/home/channel-matcher.mjs +1 -30
- package/dist/components/pages/home/client.mjs +1 -149
- package/dist/components/pages/home/index.mjs +1 -59
- package/dist/components/pages/login/agreement-dialog.mjs +1 -104
- package/dist/components/pages/login/auth-guard.mjs +1 -37
- package/dist/components/pages/login/auth-page-styles.mjs +2 -17
- package/dist/components/pages/login/forgot.mjs +1 -136
- package/dist/components/pages/login/index.mjs +1 -107
- package/dist/components/pages/login/login-client.mjs +1 -233
- package/dist/components/pages/login/password.mjs +1 -186
- package/dist/components/pages/login/register.mjs +1 -204
- package/dist/components/pages/login/reset-password.mjs +1 -193
- package/dist/components/pages/login/tracking.mjs +1 -32
- package/dist/components/pages/login/verify.mjs +1 -243
- package/dist/components/pages/post-detail/page.mjs +1 -28
- package/dist/components/pages/post-detail/post-detail-client.mjs +1 -516
- package/dist/components/pages/profile/index.mjs +1 -10
- package/dist/components/pages/profile/page.mjs +1 -28
- package/dist/components/pages/publish/components/collection-card.mjs +1 -49
- package/dist/components/pages/publish/components/collection-popup.mjs +1 -81
- package/dist/components/pages/publish/components/collection.mjs +1 -97
- package/dist/components/pages/publish/components/cover-item.mjs +1 -46
- package/dist/components/pages/publish/components/editor.mjs +1 -208
- package/dist/components/pages/publish/components/header.mjs +1 -31
- package/dist/components/pages/publish/components/material-grid.mjs +1 -52
- package/dist/components/pages/publish/components/material-item.mjs +1 -68
- package/dist/components/pages/publish/components/toolbar.mjs +1 -39
- package/dist/components/pages/publish/components/upload-progress.mjs +1 -53
- package/dist/components/pages/publish/components/video-item.mjs +1 -36
- package/dist/components/pages/publish/constants.mjs +1 -8
- package/dist/components/pages/publish/hooks/use-file-upload.mjs +1 -162
- package/dist/components/pages/publish/page-client.mjs +1 -345
- package/dist/components/pages/publish/page.mjs +1 -11
- package/dist/components/pages/publish/utils/file-upload.mjs +1 -155
- package/dist/components/pages/publish/utils/publish-utils.mjs +1 -11
- package/dist/components/pages/search/hot-recommend.mjs +1 -192
- package/dist/components/pages/search/hot-search.mjs +1 -70
- package/dist/components/pages/search/index.mjs +1 -17
- package/dist/components/pages/search/page-client.mjs +1 -211
- package/dist/components/pages/search/search-result/index.mjs +1 -31
- package/dist/components/pages/search/search-result/search-all.mjs +1 -167
- package/dist/components/pages/search/search-result/search-user.mjs +1 -306
- package/dist/components/pages/search/search-result/search-video-info.mjs +1 -134
- package/dist/components/pages/search/search-result/shared.mjs +1 -114
- package/dist/components/pages/search/style.module.mjs +85 -12
- package/dist/components/pages/search/top-header.mjs +1 -131
- package/dist/components/pages/search/tracking.mjs +1 -51
- package/dist/components/pages/search-result/page-client.mjs +1 -130
- package/dist/components/pages/search-result/search-all.mjs +1 -180
- package/dist/components/pages/search-result/search-empty.mjs +1 -52
- package/dist/components/pages/search-result/search-tab.mjs +1 -95
- package/dist/components/pages/search-result/search-user.mjs +1 -315
- package/dist/components/pages/search-result/search-video-info.mjs +1 -195
- package/dist/components/pages/search-result/shared.mjs +1 -46
- package/dist/components/pages/search-result/top-header.mjs +1 -105
- package/dist/components/pages/search-result/tracking.mjs +1 -39
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +1 -381
- package/dist/components/pages/settings/_components/settings.mjs +1 -192
- package/dist/components/pages/settings/index.mjs +1 -10
- package/dist/components/pages/settings/page.mjs +1 -13
- package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -34
- package/dist/components/pages/user-follow/_components/follow-top-header.mjs +1 -25
- package/dist/components/pages/user-follow/_components/post-tab.mjs +1 -96
- package/dist/components/pages/user-follow/index.mjs +1 -10
- package/dist/components/pages/user-follow/page.mjs +1 -106
- package/dist/components/pages/user-follow/skeleton.mjs +1 -62
- package/dist/components/pages/video-detail/page.mjs +1 -47
- package/dist/components/pages/video-detail/video-detail-client.mjs +1 -395
- package/dist/components/pages/video-list/index.mjs +1 -61
- package/dist/components/pages/video-list/types.mjs +1 -16
- package/dist/components/pages/video-list/video-list-client.mjs +1 -144
- package/dist/components/pages/video-list/video-list-recommend-item.mjs +1 -94
- package/dist/components/pages/video-list/video-list-skeleton.mjs +1 -91
- package/dist/components/ui/accordion.mjs +1 -62
- package/dist/components/ui/alert-dialog.mjs +1 -114
- package/dist/components/ui/alert.mjs +1 -50
- package/dist/components/ui/aspect-ratio.mjs +1 -17
- package/dist/components/ui/avatar.mjs +1 -107
- package/dist/components/ui/badge.mjs +1 -38
- package/dist/components/ui/box.mjs +1 -17
- package/dist/components/ui/breadcrumb.mjs +1 -84
- package/dist/components/ui/button-group.d.mts +1 -1
- package/dist/components/ui/button-group.mjs +1 -49
- package/dist/components/ui/button.d.mts +1 -1
- package/dist/components/ui/button.mjs +1 -50
- package/dist/components/ui/card.mjs +1 -65
- package/dist/components/ui/carousel.mjs +1 -142
- package/dist/components/ui/checkbox.mjs +1 -25
- package/dist/components/ui/collapsible.mjs +1 -31
- package/dist/components/ui/combobox.mjs +1 -185
- package/dist/components/ui/context-menu.mjs +1 -150
- package/dist/components/ui/dialog.mjs +1 -109
- package/dist/components/ui/drawer.mjs +1 -91
- package/dist/components/ui/dropdown-menu.mjs +1 -154
- package/dist/components/ui/empty-icons.mjs +7 -96
- package/dist/components/ui/empty.mjs +1 -95
- package/dist/components/ui/field.d.mts +1 -1
- package/dist/components/ui/field.mjs +1 -131
- package/dist/components/ui/hover-card.mjs +1 -43
- package/dist/components/ui/image.mjs +1 -257
- package/dist/components/ui/infinite-scroll.mjs +1 -168
- package/dist/components/ui/input-group.mjs +1 -90
- package/dist/components/ui/input.mjs +1 -19
- package/dist/components/ui/item.mjs +1 -137
- package/dist/components/ui/kbd.mjs +1 -24
- package/dist/components/ui/label.mjs +1 -18
- package/dist/components/ui/legacy/badge.mjs +1 -80
- package/dist/components/ui/legacy/button.mjs +1 -55
- package/dist/components/ui/legacy/input.mjs +1 -22
- package/dist/components/ui/legacy/popover.mjs +1 -69
- package/dist/components/ui/link.mjs +1 -52
- package/dist/components/ui/list.mjs +5 -221
- package/dist/components/ui/loading.mjs +1 -44
- package/dist/components/ui/mask.mjs +1 -17
- package/dist/components/ui/menubar.mjs +1 -154
- package/dist/components/ui/native-select.mjs +1 -43
- package/dist/components/ui/pagination.mjs +1 -90
- package/dist/components/ui/popover.mjs +1 -73
- package/dist/components/ui/popup.mjs +1 -44
- package/dist/components/ui/progress.mjs +1 -53
- package/dist/components/ui/radio-group.mjs +1 -34
- package/dist/components/ui/rate.mjs +1 -69
- package/dist/components/ui/scroll-area.mjs +1 -43
- package/dist/components/ui/select.mjs +1 -113
- package/dist/components/ui/separator.mjs +1 -20
- package/dist/components/ui/sheet.mjs +1 -109
- package/dist/components/ui/skeleton.mjs +1 -16
- package/dist/components/ui/slider.mjs +1 -46
- package/dist/components/ui/sonner.mjs +1 -34
- package/dist/components/ui/spinner.mjs +1 -18
- package/dist/components/ui/switch.mjs +1 -65
- package/dist/components/ui/table.mjs +1 -78
- package/dist/components/ui/tabs.mjs +1 -54
- package/dist/components/ui/text.mjs +1 -20
- package/dist/components/ui/textarea.mjs +1 -16
- package/dist/components/ui/time.mjs +1 -91
- package/dist/components/ui/toggle-group.mjs +1 -59
- package/dist/components/ui/toggle.mjs +1 -41
- package/dist/components/ui/tooltip.mjs +1 -49
- package/dist/components/ui/wheel-picker.mjs +1 -28
- package/dist/constants/event-key.mjs +1 -18
- package/dist/constants/query-key.mjs +1 -32
- package/dist/constants/revalidate.mjs +1 -9
- package/dist/constants/site.mjs +1 -11
- package/dist/constants/url-prefix.mjs +1 -11
- package/dist/hooks/image-text-recommend.mjs +1 -71
- package/dist/hooks/query/hydration-boundary.mjs +1 -34
- package/dist/hooks/query/use-query.mjs +1 -114
- package/dist/hooks/use-auth.mjs +1 -198
- package/dist/hooks/use-browse-report.mjs +1 -489
- package/dist/hooks/use-card-decoration.mjs +1 -96
- package/dist/hooks/use-content-operate.mjs +1 -526
- package/dist/hooks/use-first-row-height.mjs +1 -105
- package/dist/hooks/use-follow.mjs +1 -69
- package/dist/hooks/use-fullscreen-gestures.mjs +1 -144
- package/dist/hooks/use-interaction-animation.mjs +1 -26
- package/dist/hooks/use-is-client.mjs +1 -20
- package/dist/hooks/use-keyboard-open.mjs +1 -56
- package/dist/hooks/use-like-dislike.mjs +1 -40
- package/dist/hooks/use-min-duration-loading.mjs +1 -63
- package/dist/hooks/use-search-history.mjs +1 -53
- package/dist/hooks/use-sticky.mjs +1 -50
- package/dist/hooks.mjs +1 -17
- package/dist/i18n/locales/en.mjs +3 -836
- package/dist/i18n/locales/zh-CN.mjs +3 -836
- package/dist/i18n/messages.mjs +1 -20
- package/dist/i18n/translator.mjs +1 -38
- package/dist/i18n.mjs +1 -165
- package/dist/materials.mjs +1 -73
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +1 -17
- package/dist/pages.mjs +1 -23
- package/dist/seo/build-metadata.mjs +1 -163
- package/dist/seo/config/index.mjs +1 -22
- package/dist/seo/config/page.mjs +6 -301
- package/dist/seo/config/site.mjs +1 -25
- package/dist/seo/constants.mjs +1 -31
- package/dist/seo/helpers.mjs +1 -120
- package/dist/seo/resource-hints.mjs +1 -60
- package/dist/seo/robots.mjs +1 -36
- package/dist/seo/sitemap.mjs +1 -44
- package/dist/seo/structured-data/article.mjs +1 -51
- package/dist/seo/structured-data/common.mjs +1 -60
- package/dist/seo/structured-data/video.mjs +1 -41
- package/dist/seo/viewport.mjs +1 -31
- package/dist/seo.mjs +1 -15
- package/dist/service/advertisement.mjs +1 -88
- package/dist/service/generated/client.mjs +1 -1281
- package/dist/service/generated/tanstack.mjs +1 -1179
- package/dist/service/register-by-verify-email-code.mjs +1 -17
- package/dist/service.mjs +1 -6
- package/dist/store/create-store.mjs +1 -25
- package/dist/store/modules/app-config-store.mjs +1 -28
- package/dist/store/modules/blind-spot-ad-store.mjs +1 -95
- package/dist/store/modules/blocked-modal-store.mjs +1 -30
- package/dist/store/modules/follow-ids-store.mjs +1 -12
- package/dist/store/modules/login-modal-store.mjs +1 -155
- package/dist/store/modules/media-preview-store.mjs +1 -54
- package/dist/store/modules/publish-store.mjs +1 -31
- package/dist/store/modules/use-demo-store.mjs +1 -17
- package/dist/store/modules/user-store.mjs +1 -133
- package/dist/store/modules/video-player-ref-store.mjs +1 -13
- package/dist/store.mjs +1 -12
- package/dist/theme-tokens.mjs +1 -82
- package/dist/types/safe-at-user.mjs +1 -15
- package/dist/types/safe-comment.mjs +1 -30
- package/dist/types/safe-grid.mjs +1 -36
- package/dist/types/safe-replay.mjs +1 -43
- package/dist/types/share.mjs +1 -16
- package/dist/ui.mjs +1 -58
- package/dist/utils/api-collect.mjs +1 -14
- package/dist/utils/browser-fingerprint.mjs +1 -53
- package/dist/utils/channel-storage.mjs +1 -57
- package/dist/utils/cn.mjs +1 -15
- package/dist/utils/common.mjs +1 -311
- package/dist/utils/db.mjs +1 -80
- package/dist/utils/decrypt-image-client.mjs +1 -325
- package/dist/utils/decrypt.worker.mjs +2 -20
- package/dist/utils/device-id.mjs +1 -20
- package/dist/utils/email-validator.mjs +1 -108
- package/dist/utils/event-bus.mjs +1 -33
- package/dist/utils/follow-service.mjs +1 -87
- package/dist/utils/get-res-url.mjs +1 -94
- package/dist/utils/helper.mjs +1 -33
- package/dist/utils/http.mjs +1 -202
- package/dist/utils/image-compression.mjs +1 -59
- package/dist/utils/image-crop.mjs +1 -63
- package/dist/utils/loaders.mjs +1 -51
- package/dist/utils/login-modal-bridge.mjs +1 -65
- package/dist/utils/media.mjs +1 -128
- package/dist/utils/password-validator.mjs +1 -86
- package/dist/utils/request-user-id.mjs +1 -16
- package/dist/utils/s3-uploader.mjs +1 -40
- package/dist/utils/schema/inspector.d.mts +2 -2
- package/dist/utils/schema/material.mjs +1 -24
- package/dist/utils/schema/schema.mjs +1 -207
- package/dist/utils/schema/utils.mjs +1 -27
- package/dist/utils/share-manager.mjs +1 -183
- package/dist/utils/tools.mjs +1 -92
- package/dist/utils/tracking.mjs +1 -183
- package/dist/utils/uint8.mjs +1 -46
- package/dist/utils/upload-file.mjs +1 -429
- package/dist/utils/use-compatible-router.mjs +1 -84
- package/dist/utils.mjs +1 -27
- package/package.json +1 -1
- package/theme.css +1 -1
|
@@ -1,391 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { useRouter as useRouter$1 } from "../../../../../utils/use-compatible-router.mjs";
|
|
5
|
-
import { prefetchVideoPlayerSrc } from "../../../../common/video-player/process-m3u8-cache.mjs";
|
|
6
|
-
import { useLoginModalStore } from "../../../../../store/modules/login-modal-store.mjs";
|
|
7
|
-
import { BasicFullscreen } from "../basic-fullscreen.mjs";
|
|
8
|
-
import { adaptFeedItemToSafeInformation, normalizeToFeedItem } from "./adapters.mjs";
|
|
9
|
-
import styles_module_default from "./styles.module.mjs";
|
|
10
|
-
import { BottomInfo } from "./bottom-info.mjs";
|
|
11
|
-
import { PostSlide } from "./post-slide.mjs";
|
|
12
|
-
import { UserAction } from "./user-action.mjs";
|
|
13
|
-
import { VideoSlide } from "./video-slide.mjs";
|
|
14
|
-
import { useParams } from "next/navigation";
|
|
15
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
16
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
import dynamic from "next/dynamic";
|
|
18
|
-
|
|
19
|
-
//#region components/biz/basics/fullscreen-feed/runtime/client.tsx
|
|
20
|
-
/**
|
|
21
|
-
* 评论弹窗属于“非首屏必需功能”:
|
|
22
|
-
* - 只有用户点击评论时才需要
|
|
23
|
-
* - 避免首屏把 CommentList 等依赖一起打包/执行,降低跳转加载时延
|
|
24
|
-
*/
|
|
25
|
-
const CommentModal = dynamic(() => import("./comment-modal.mjs"), {
|
|
26
|
-
ssr: false,
|
|
27
|
-
loading: () => null
|
|
28
|
-
});
|
|
29
|
-
const PROCESS_M3U8_CLIENT_WARMUP_WINDOW = 2;
|
|
30
|
-
/**
|
|
31
|
-
* FullscreenFeedClient
|
|
32
|
-
*
|
|
33
|
-
* 只负责渲染(items + activeIndex + 业务回调);
|
|
34
|
-
* BaseComponentProps / runtime 兼容由上层业务组件处理。
|
|
35
|
-
*/
|
|
36
|
-
function FullscreenFeedClient(props) {
|
|
37
|
-
const router = useRouter$1();
|
|
38
|
-
const params = useParams();
|
|
39
|
-
const { items, activeIndex, top, bottom, videoConfig, userInteracted, onUserInteracted, onActiveIndexChange, onDataUpdate, onOpenComment, getNavigationInfo, onControlsVisibilityChange, onGestureStart, onGestureEnd, onSwipeCancel, onCustomActionRender, onVideoProgressUpdate, currentUserId, followIds, onFollowIdsChange, commentContentId, onRequireLogin, style, activeEpisodeId } = props;
|
|
40
|
-
const resolvedVideoConfig = videoConfig;
|
|
41
|
-
function markUserInteracted() {
|
|
42
|
-
if (!userInteracted) onUserInteracted();
|
|
43
|
-
}
|
|
44
|
-
function handleUserNavigate(userId) {
|
|
45
|
-
markUserInteracted();
|
|
46
|
-
const prefix = typeof params?.locale === "string" ? `/${params.locale}` : "";
|
|
47
|
-
router.push(`${prefix}/profile/${userId}`);
|
|
48
|
-
}
|
|
49
|
-
const buildSeriesEpisodePath = useCallback((seriesId) => {
|
|
50
|
-
return `${typeof params?.locale === "string" ? `/${params.locale}` : ""}/feed-series/${seriesId}/episode/1`;
|
|
51
|
-
}, [params?.locale]);
|
|
52
|
-
function handleSeriesNavigate(seriesId) {
|
|
53
|
-
markUserInteracted();
|
|
54
|
-
const url = buildSeriesEpisodePath(seriesId);
|
|
55
|
-
router.push(url);
|
|
56
|
-
}
|
|
57
|
-
function handleRequireLogin() {
|
|
58
|
-
if (onRequireLogin) {
|
|
59
|
-
onRequireLogin();
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
useLoginModalStore.getState().open();
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* FullscreenFeedClient 内部的乐观更新缓存:
|
|
66
|
-
* - 由于 `UserAction` 的点赞/收藏是本地 state 乐观更新,但评论数依赖上层数据刷新;
|
|
67
|
-
* - 当上层 `onDataUpdate` 未把 patch 及时反映回 `items` 时,评论成功后的计数不会更新;
|
|
68
|
-
* - 这里在组件内部维护 overrides,确保 UI 立即更新,同时仍调用上层 `onDataUpdate` 做同步。
|
|
69
|
-
*/
|
|
70
|
-
const [localOverrides, setLocalOverrides] = useState({});
|
|
71
|
-
/**
|
|
72
|
-
* 合并 SafeInformationType 补丁(浅合并 + static/author 深层合并)。
|
|
73
|
-
*/
|
|
74
|
-
function mergeSafeInformation(base, patch) {
|
|
75
|
-
if (!patch) return base;
|
|
76
|
-
const nextStatic = patch.static ? {
|
|
77
|
-
...base.static || {},
|
|
78
|
-
...patch.static
|
|
79
|
-
} : base.static;
|
|
80
|
-
const nextAuthor = patch.author ? {
|
|
81
|
-
...base.author || {},
|
|
82
|
-
...patch.author
|
|
83
|
-
} : base.author;
|
|
84
|
-
return {
|
|
85
|
-
...base,
|
|
86
|
-
...patch,
|
|
87
|
-
static: nextStatic,
|
|
88
|
-
author: nextAuthor
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* 统一数据更新入口:先写入本地 overrides,保证 UI 立即更新,再透传给上层。
|
|
93
|
-
*/
|
|
94
|
-
function handleDataUpdate(id, patch) {
|
|
95
|
-
setLocalOverrides((prev) => {
|
|
96
|
-
const prevPatch = prev[id] || {};
|
|
97
|
-
const mergedStatic = patch.static ? {
|
|
98
|
-
...prevPatch.static || {},
|
|
99
|
-
...patch.static
|
|
100
|
-
} : prevPatch.static;
|
|
101
|
-
const mergedAuthor = patch.author ? {
|
|
102
|
-
...prevPatch.author || {},
|
|
103
|
-
...patch.author
|
|
104
|
-
} : prevPatch.author;
|
|
105
|
-
return {
|
|
106
|
-
...prev,
|
|
107
|
-
[id]: {
|
|
108
|
-
...prevPatch,
|
|
109
|
-
...patch,
|
|
110
|
-
...mergedStatic ? { static: mergedStatic } : {},
|
|
111
|
-
...mergedAuthor ? { author: mergedAuthor } : {}
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
});
|
|
115
|
-
onDataUpdate(id, patch);
|
|
116
|
-
}
|
|
117
|
-
const [commentInfo, setCommentInfo] = useState(null);
|
|
118
|
-
const [commentTargetItemId, setCommentTargetItemId] = useState("");
|
|
119
|
-
const [commentContentType, setCommentContentType] = useState(1);
|
|
120
|
-
const [showCommentModal, setShowCommentModal] = useState(false);
|
|
121
|
-
function handleOpenComment(itemId, info, contentType) {
|
|
122
|
-
markUserInteracted();
|
|
123
|
-
if (onOpenComment) {
|
|
124
|
-
onOpenComment(info);
|
|
125
|
-
return;
|
|
126
|
-
}
|
|
127
|
-
setCommentInfo(info);
|
|
128
|
-
setCommentTargetItemId(itemId);
|
|
129
|
-
setCommentContentType(contentType);
|
|
130
|
-
setShowCommentModal(true);
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* 评论弹窗内会通过 `onTotalChange` / `onCommentAdded` 回写 `static.comment_cnt`;
|
|
134
|
-
* 这里仅透传 `comment_cnt`,避免用弹窗打开时的旧 `static` 覆盖外层最新的点赞/收藏等计数。
|
|
135
|
-
*/
|
|
136
|
-
function handleCommentModalUpdate(updateData) {
|
|
137
|
-
const commentCnt = updateData.static?.comment_cnt;
|
|
138
|
-
if (commentCnt === void 0 || commentCnt === null) return;
|
|
139
|
-
if (!commentTargetItemId) return;
|
|
140
|
-
handleDataUpdate(commentTargetItemId, { static: { comment_cnt: commentCnt } });
|
|
141
|
-
}
|
|
142
|
-
const normalizedItems = useMemo(() => {
|
|
143
|
-
function isFeedItem(input) {
|
|
144
|
-
return !!input && typeof input === "object" && typeof input.kind === "string" && !!input.originalData;
|
|
145
|
-
}
|
|
146
|
-
function isPostRaw(input) {
|
|
147
|
-
return !!input && typeof input === "object" && typeof input.content_id === "string";
|
|
148
|
-
}
|
|
149
|
-
function isSafeInformation(input) {
|
|
150
|
-
return !!input && typeof input === "object" && typeof input.id === "string" && typeof input.name === "string";
|
|
151
|
-
}
|
|
152
|
-
function toPostFeedItem(raw) {
|
|
153
|
-
const medias = Array.isArray(raw.medias) ? raw.medias : [];
|
|
154
|
-
const images = medias.map((media) => {
|
|
155
|
-
if (!media?.media_url) return "";
|
|
156
|
-
if (media.is_video) return media.cover_image || media.media_url;
|
|
157
|
-
return media.media_url;
|
|
158
|
-
}).filter((src) => Boolean(src));
|
|
159
|
-
const text = raw.content || "";
|
|
160
|
-
const title = text.length > 18 ? `${text.slice(0, 18)}...` : text;
|
|
161
|
-
const info = {
|
|
162
|
-
id: raw.content_id,
|
|
163
|
-
mid: raw.content_id,
|
|
164
|
-
name: title,
|
|
165
|
-
img_y: raw.cover_image || "",
|
|
166
|
-
preview_images: medias,
|
|
167
|
-
description: text,
|
|
168
|
-
tags: (raw.tags || []).map((tag) => ({
|
|
169
|
-
id: tag,
|
|
170
|
-
name: tag
|
|
171
|
-
})),
|
|
172
|
-
links: [],
|
|
173
|
-
static: {
|
|
174
|
-
like_cnt: raw.like_count ?? 0,
|
|
175
|
-
dislike_cnt: raw.dislike_count ?? 0,
|
|
176
|
-
comment_cnt: raw.comment_count ?? 0,
|
|
177
|
-
share_cnt: raw.share_count ?? 0,
|
|
178
|
-
browse_cnt: raw.view_count ?? 0,
|
|
179
|
-
collect_cnt: 0
|
|
180
|
-
},
|
|
181
|
-
type: raw.type,
|
|
182
|
-
is_liked: Boolean(raw.is_liked),
|
|
183
|
-
is_dislike: Boolean(raw.is_dislike),
|
|
184
|
-
is_collected: Boolean(raw.is_collected),
|
|
185
|
-
is_followed: Boolean(raw.is_followed),
|
|
186
|
-
author: raw.author,
|
|
187
|
-
up_user: raw.user_id
|
|
188
|
-
};
|
|
189
|
-
return {
|
|
190
|
-
kind: "post",
|
|
191
|
-
id: raw.content_id,
|
|
192
|
-
title,
|
|
193
|
-
content: text,
|
|
194
|
-
images,
|
|
195
|
-
originalData: info
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
function toPostFeedItemFromSafeInfo(info) {
|
|
199
|
-
const images = (Array.isArray(info.preview_images) ? info.preview_images : []).map((item) => {
|
|
200
|
-
if (!item) return "";
|
|
201
|
-
if (typeof item === "string") return item;
|
|
202
|
-
return item.is_video ? item.cover_image || item.media_url || "" : item.media_url || "";
|
|
203
|
-
}).filter((src) => Boolean(src));
|
|
204
|
-
return {
|
|
205
|
-
kind: "post",
|
|
206
|
-
id: info.id,
|
|
207
|
-
title: info.name,
|
|
208
|
-
content: info.description ?? "",
|
|
209
|
-
images,
|
|
210
|
-
originalData: info
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
return (items || []).map((input) => {
|
|
214
|
-
if (isFeedItem(input)) return input;
|
|
215
|
-
if (isPostRaw(input)) return toPostFeedItem(input);
|
|
216
|
-
if (isSafeInformation(input)) {
|
|
217
|
-
const safeInfo = adaptFeedItemToSafeInformation(input);
|
|
218
|
-
if (safeInfo.type === 1 && safeInfo.links.length === 0) return toPostFeedItemFromSafeInfo(safeInfo);
|
|
219
|
-
return normalizeToFeedItem(safeInfo);
|
|
220
|
-
}
|
|
221
|
-
return null;
|
|
222
|
-
}).filter(Boolean);
|
|
223
|
-
}, [items]);
|
|
224
|
-
/**
|
|
225
|
-
* 客户端预热当前及邻近条目的 m3u8,降低翻页到下一条视频时的首帧等待。
|
|
226
|
-
*/
|
|
227
|
-
const warmupVideoUrls = useMemo(() => {
|
|
228
|
-
if (!normalizedItems.length) return [];
|
|
229
|
-
const start = Math.max(0, activeIndex - 1);
|
|
230
|
-
const end = Math.min(normalizedItems.length - 1, activeIndex + PROCESS_M3U8_CLIENT_WARMUP_WINDOW);
|
|
231
|
-
const urls = [];
|
|
232
|
-
for (let index = start; index <= end; index += 1) {
|
|
233
|
-
const item = normalizedItems[index];
|
|
234
|
-
if (!item || item.kind !== "video") continue;
|
|
235
|
-
const targetUrl = item.videoUrl || item.hlsList?.[0]?.url || "";
|
|
236
|
-
if (!targetUrl) continue;
|
|
237
|
-
urls.push(targetUrl);
|
|
238
|
-
}
|
|
239
|
-
return Array.from(new Set(urls));
|
|
240
|
-
}, [activeIndex, normalizedItems]);
|
|
241
|
-
useEffect(() => {
|
|
242
|
-
warmupVideoUrls.forEach((url) => prefetchVideoPlayerSrc(url));
|
|
243
|
-
}, [warmupVideoUrls]);
|
|
244
|
-
const prefetchedSeriesPathRef = useRef(/* @__PURE__ */ new Set());
|
|
245
|
-
/**
|
|
246
|
-
* 当前激活项若为剧集,提前 prefetch 详情路由,缩短点击“选集”后的首包等待。
|
|
247
|
-
*/
|
|
248
|
-
useEffect(() => {
|
|
249
|
-
const activeItem = normalizedItems[activeIndex];
|
|
250
|
-
if (!activeItem || activeItem.kind !== "video") return;
|
|
251
|
-
if (Number(activeItem.originalData?.episode_cnt || 0) <= 1) return;
|
|
252
|
-
if (getNavigationInfo(activeIndex).onSeriesClick) return;
|
|
253
|
-
const seriesId = activeItem.originalData?.id || activeItem.id;
|
|
254
|
-
if (!seriesId) return;
|
|
255
|
-
const targetPath = buildSeriesEpisodePath(seriesId);
|
|
256
|
-
if (prefetchedSeriesPathRef.current.has(targetPath)) return;
|
|
257
|
-
prefetchedSeriesPathRef.current.add(targetPath);
|
|
258
|
-
router.prefetch(targetPath);
|
|
259
|
-
}, [
|
|
260
|
-
activeIndex,
|
|
261
|
-
buildSeriesEpisodePath,
|
|
262
|
-
getNavigationInfo,
|
|
263
|
-
normalizedItems,
|
|
264
|
-
router
|
|
265
|
-
]);
|
|
266
|
-
/**
|
|
267
|
-
* top/bottom 需通过 inline style 处理,避免被外层 `style` 覆盖 class 样式。
|
|
268
|
-
* top/bottom 参数表示额外预留的顶部/底部高度(例如顶部搜索栏、底部 TabBar 的 56px)。
|
|
269
|
-
*/
|
|
270
|
-
const baseTop = top ?? 0;
|
|
271
|
-
const baseBottom = bottom ?? 0;
|
|
272
|
-
const wrapperStyle = {
|
|
273
|
-
...style,
|
|
274
|
-
top: `${baseTop}px`,
|
|
275
|
-
bottom: `${baseBottom}px`,
|
|
276
|
-
height: `calc(100dvh - ${baseTop}px - ${baseBottom}px)`
|
|
277
|
-
};
|
|
278
|
-
const viewportIndexRef = useRef(activeIndex);
|
|
279
|
-
const [rawControlsVisible, setRawControlsVisible] = useState(false);
|
|
280
|
-
const [activeVideoHasFirstFrame, setActiveVideoHasFirstFrame] = useState(false);
|
|
281
|
-
const [activeVideoInteracted, setActiveVideoInteracted] = useState(false);
|
|
282
|
-
const isControlsVisible = rawControlsVisible && activeVideoHasFirstFrame && activeVideoInteracted;
|
|
283
|
-
useEffect(() => {
|
|
284
|
-
viewportIndexRef.current = activeIndex;
|
|
285
|
-
setRawControlsVisible(false);
|
|
286
|
-
setActiveVideoHasFirstFrame(false);
|
|
287
|
-
setActiveVideoInteracted(false);
|
|
288
|
-
}, [activeIndex, onControlsVisibilityChange]);
|
|
289
|
-
useEffect(() => {
|
|
290
|
-
onControlsVisibilityChange?.(isControlsVisible);
|
|
291
|
-
}, [isControlsVisible, onControlsVisibilityChange]);
|
|
292
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(BasicFullscreen, {
|
|
293
|
-
items: normalizedItems,
|
|
294
|
-
activeIndex,
|
|
295
|
-
userInteracted,
|
|
296
|
-
onUserInteracted,
|
|
297
|
-
onActiveIndexChange,
|
|
298
|
-
onViewportIndexChange: (nextIndex) => {
|
|
299
|
-
viewportIndexRef.current = nextIndex;
|
|
300
|
-
setRawControlsVisible(false);
|
|
301
|
-
setActiveVideoHasFirstFrame(false);
|
|
302
|
-
setActiveVideoInteracted(false);
|
|
303
|
-
},
|
|
304
|
-
onGestureStart,
|
|
305
|
-
onGestureEnd,
|
|
306
|
-
onSwipeCancel,
|
|
307
|
-
style: wrapperStyle,
|
|
308
|
-
className: `w-full h-full fixed top-0 left-0 overflow-hidden z-[2] touch-none ${styles_module_default.fullscreenFeed}`,
|
|
309
|
-
trackClassName: styles_module_default.feedTrack,
|
|
310
|
-
itemWrapperClassName: styles_module_default.feedItem,
|
|
311
|
-
renderItem: ({ item, index, activeIndex: currentIndex, isActive, isSettledActive, shouldMount, swipeNext }) => {
|
|
312
|
-
if (!item) return /* @__PURE__ */ jsx("div", { className: styles_module_default.emptySlide });
|
|
313
|
-
const shouldLoadCover = Math.abs(index - currentIndex) <= 1;
|
|
314
|
-
const patchedInfo = mergeSafeInformation(item.originalData, localOverrides[item.id]);
|
|
315
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
316
|
-
item.kind === "post" ? /* @__PURE__ */ jsx(PostSlide, {
|
|
317
|
-
item,
|
|
318
|
-
isSettledActive,
|
|
319
|
-
shouldMount
|
|
320
|
-
}) : item.kind === "video" ? /* @__PURE__ */ jsx(VideoSlide, {
|
|
321
|
-
item,
|
|
322
|
-
videoConfig: resolvedVideoConfig,
|
|
323
|
-
isActive,
|
|
324
|
-
isSettledActive,
|
|
325
|
-
shouldMount,
|
|
326
|
-
shouldLoadCover,
|
|
327
|
-
isPaused: showCommentModal,
|
|
328
|
-
userInteracted,
|
|
329
|
-
onPlayerInteract: () => {
|
|
330
|
-
if (index !== viewportIndexRef.current) return;
|
|
331
|
-
if (!activeVideoHasFirstFrame) return;
|
|
332
|
-
setActiveVideoInteracted(true);
|
|
333
|
-
},
|
|
334
|
-
onControlsVisibilityChange: (visible) => {
|
|
335
|
-
if (index !== viewportIndexRef.current) return;
|
|
336
|
-
setRawControlsVisible(visible);
|
|
337
|
-
},
|
|
338
|
-
onVideoEnded: resolvedVideoConfig?.autoNext ? swipeNext : void 0,
|
|
339
|
-
onProgressUpdate: (currentTime, duration) => {
|
|
340
|
-
if (index !== viewportIndexRef.current) return;
|
|
341
|
-
if (!activeVideoHasFirstFrame && currentTime >= .05) setActiveVideoHasFirstFrame(true);
|
|
342
|
-
onVideoProgressUpdate?.({
|
|
343
|
-
id: item.id,
|
|
344
|
-
currentTime,
|
|
345
|
-
duration
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
}) : /* @__PURE__ */ jsx("div", { className: styles_module_default.emptySlide }),
|
|
349
|
-
/* @__PURE__ */ jsx(UserAction, {
|
|
350
|
-
information: patchedInfo,
|
|
351
|
-
onUpdate: (data) => handleDataUpdate(item.id, data),
|
|
352
|
-
onOpenComment: () => handleOpenComment(item.id, patchedInfo, item.kind === "post" ? 2 : 1),
|
|
353
|
-
onCustomActionRender,
|
|
354
|
-
onUserNavigate: handleUserNavigate,
|
|
355
|
-
currentUserId,
|
|
356
|
-
followIds,
|
|
357
|
-
onFollowChange: (ids) => {
|
|
358
|
-
onFollowIdsChange?.(ids);
|
|
359
|
-
},
|
|
360
|
-
onRequireLogin: handleRequireLogin,
|
|
361
|
-
activeEpisodeId
|
|
362
|
-
}),
|
|
363
|
-
isActive && /* @__PURE__ */ jsx(BottomInfo, {
|
|
364
|
-
information: patchedInfo,
|
|
365
|
-
isPost: item.kind === "post",
|
|
366
|
-
navigation: (() => {
|
|
367
|
-
const next = getNavigationInfo(index);
|
|
368
|
-
if ((patchedInfo.episode_cnt ?? 0) > 1 && !next.onSeriesClick) return {
|
|
369
|
-
...next,
|
|
370
|
-
onSeriesClick: () => handleSeriesNavigate(patchedInfo.id)
|
|
371
|
-
};
|
|
372
|
-
return next;
|
|
373
|
-
})(),
|
|
374
|
-
isControlsVisible,
|
|
375
|
-
onUserNavigate: handleUserNavigate,
|
|
376
|
-
onNextClick: swipeNext
|
|
377
|
-
})
|
|
378
|
-
] });
|
|
379
|
-
}
|
|
380
|
-
}), !onOpenComment && showCommentModal && commentInfo && /* @__PURE__ */ jsx(CommentModal, {
|
|
381
|
-
open: showCommentModal,
|
|
382
|
-
information: commentInfo,
|
|
383
|
-
contentId: commentContentId || commentInfo.id,
|
|
384
|
-
content_type: commentContentType,
|
|
385
|
-
onUpdate: handleCommentModalUpdate,
|
|
386
|
-
onClose: () => setShowCommentModal(false)
|
|
387
|
-
})] });
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
//#endregion
|
|
391
|
-
export { FullscreenFeedClient as default };
|
|
2
|
+
"use client";import{useRouter as e}from"../../../../../utils/use-compatible-router.mjs";import{prefetchVideoPlayerSrc as t}from"../../../../common/video-player/process-m3u8-cache.mjs";import{useLoginModalStore as n}from"../../../../../store/modules/login-modal-store.mjs";import{BasicFullscreen as r}from"../basic-fullscreen.mjs";import{adaptFeedItemToSafeInformation as i,normalizeToFeedItem as a}from"./adapters.mjs";import o from"./styles.module.mjs";import{BottomInfo as s}from"./bottom-info.mjs";import{PostSlide as ee}from"./post-slide.mjs";import{UserAction as c}from"./user-action.mjs";import{VideoSlide as te}from"./video-slide.mjs";import{useParams as l}from"next/navigation";import{useCallback as u,useEffect as d,useMemo as f,useRef as p,useState as m}from"react";import{Fragment as h,jsx as g,jsxs as _}from"react/jsx-runtime";import v from"next/dynamic";const ne=v(()=>import(`./comment-modal.mjs`),{ssr:!1,loading:()=>null});function y(v){let y=e(),b=l(),{items:x,activeIndex:S,top:C,bottom:re,videoConfig:ie,userInteracted:w,onUserInteracted:T,onActiveIndexChange:ae,onDataUpdate:E,onOpenComment:D,getNavigationInfo:O,onControlsVisibilityChange:k,onGestureStart:oe,onGestureEnd:se,onSwipeCancel:ce,onCustomActionRender:le,onVideoProgressUpdate:ue,currentUserId:de,followIds:fe,onFollowIdsChange:pe,commentContentId:me,onRequireLogin:A,style:he,activeEpisodeId:ge}=v,j=ie;function M(){w||T()}function N(e){M();let t=typeof b?.locale==`string`?`/${b.locale}`:``;y.push(`${t}/profile/${e}`)}let P=u(e=>`${typeof b?.locale==`string`?`/${b.locale}`:``}/feed-series/${e}/episode/1`,[b?.locale]);function F(e){M();let t=P(e);y.push(t)}function I(){if(A){A();return}n.getState().open()}let[L,_e]=m({});function ve(e,t){if(!t)return e;let n=t.static?{...e.static||{},...t.static}:e.static,r=t.author?{...e.author||{},...t.author}:e.author;return{...e,...t,static:n,author:r}}function R(e,t){_e(n=>{let r=n[e]||{},i=t.static?{...r.static||{},...t.static}:r.static,a=t.author?{...r.author||{},...t.author}:r.author;return{...n,[e]:{...r,...t,...i?{static:i}:{},...a?{author:a}:{}}}}),E(e,t)}let[z,ye]=m(null),[B,be]=m(``),[xe,Se]=m(1),[V,H]=m(!1);function Ce(e,t,n){if(M(),D){D(t);return}ye(t),be(e),Se(n),H(!0)}function we(e){let t=e.static?.comment_cnt;t!=null&&B&&R(B,{static:{comment_cnt:t}})}let U=f(()=>{function e(e){return!!e&&typeof e==`object`&&typeof e.kind==`string`&&!!e.originalData}function t(e){return!!e&&typeof e==`object`&&typeof e.content_id==`string`}function n(e){return!!e&&typeof e==`object`&&typeof e.id==`string`&&typeof e.name==`string`}function r(e){let t=Array.isArray(e.medias)?e.medias:[],n=t.map(e=>e?.media_url?e.is_video&&e.cover_image||e.media_url:``).filter(e=>!!e),r=e.content||``,i=r.length>18?`${r.slice(0,18)}...`:r,a={id:e.content_id,mid:e.content_id,name:i,img_y:e.cover_image||``,preview_images:t,description:r,tags:(e.tags||[]).map(e=>({id:e,name:e})),links:[],static:{like_cnt:e.like_count??0,dislike_cnt:e.dislike_count??0,comment_cnt:e.comment_count??0,share_cnt:e.share_count??0,browse_cnt:e.view_count??0,collect_cnt:0},type:e.type,is_liked:!!e.is_liked,is_dislike:!!e.is_dislike,is_collected:!!e.is_collected,is_followed:!!e.is_followed,author:e.author,up_user:e.user_id};return{kind:`post`,id:e.content_id,title:i,content:r,images:n,originalData:a}}function o(e){let t=(Array.isArray(e.preview_images)?e.preview_images:[]).map(e=>e?typeof e==`string`?e:e.is_video?e.cover_image||e.media_url||``:e.media_url||``:``).filter(e=>!!e);return{kind:`post`,id:e.id,title:e.name,content:e.description??``,images:t,originalData:e}}return(x||[]).map(s=>{if(e(s))return s;if(t(s))return r(s);if(n(s)){let e=i(s);return e.type===1&&e.links.length===0?o(e):a(e)}return null}).filter(Boolean)},[x]),W=f(()=>{if(!U.length)return[];let e=Math.max(0,S-1),t=Math.min(U.length-1,S+2),n=[];for(let r=e;r<=t;r+=1){let e=U[r];if(!e||e.kind!==`video`)continue;let t=e.videoUrl||e.hlsList?.[0]?.url||``;t&&n.push(t)}return Array.from(new Set(n))},[S,U]);d(()=>{W.forEach(e=>t(e))},[W]);let G=p(new Set);d(()=>{let e=U[S];if(!e||e.kind!==`video`||Number(e.originalData?.episode_cnt||0)<=1||O(S).onSeriesClick)return;let t=e.originalData?.id||e.id;if(!t)return;let n=P(t);G.current.has(n)||(G.current.add(n),y.prefetch(n))},[S,P,O,U,y]);let K=C??0,q=re??0,Te={...he,top:`${K}px`,bottom:`${q}px`,height:`calc(100dvh - ${K}px - ${q}px)`},J=p(S),[Ee,Y]=m(!1),[X,Z]=m(!1),[De,Q]=m(!1),$=Ee&&X&&De;return d(()=>{J.current=S,Y(!1),Z(!1),Q(!1)},[S,k]),d(()=>{k?.($)},[$,k]),_(h,{children:[g(r,{items:U,activeIndex:S,userInteracted:w,onUserInteracted:T,onActiveIndexChange:ae,onViewportIndexChange:e=>{J.current=e,Y(!1),Z(!1),Q(!1)},onGestureStart:oe,onGestureEnd:se,onSwipeCancel:ce,style:Te,className:`w-full h-full fixed top-0 left-0 overflow-hidden z-[2] touch-none ${o.fullscreenFeed}`,trackClassName:o.feedTrack,itemWrapperClassName:o.feedItem,renderItem:({item:e,index:t,activeIndex:n,isActive:r,isSettledActive:i,shouldMount:a,swipeNext:l})=>{if(!e)return g(`div`,{className:o.emptySlide});let u=Math.abs(t-n)<=1,d=ve(e.originalData,L[e.id]);return _(h,{children:[e.kind===`post`?g(ee,{item:e,isSettledActive:i,shouldMount:a}):e.kind===`video`?g(te,{item:e,videoConfig:j,isActive:r,isSettledActive:i,shouldMount:a,shouldLoadCover:u,isPaused:V,userInteracted:w,onPlayerInteract:()=>{t===J.current&&X&&Q(!0)},onControlsVisibilityChange:e=>{t===J.current&&Y(e)},onVideoEnded:j?.autoNext?l:void 0,onProgressUpdate:(n,r)=>{t===J.current&&(!X&&n>=.05&&Z(!0),ue?.({id:e.id,currentTime:n,duration:r}))}}):g(`div`,{className:o.emptySlide}),g(c,{information:d,onUpdate:t=>R(e.id,t),onOpenComment:()=>Ce(e.id,d,e.kind===`post`?2:1),onCustomActionRender:le,onUserNavigate:N,currentUserId:de,followIds:fe,onFollowChange:e=>{pe?.(e)},onRequireLogin:I,activeEpisodeId:ge}),r&&g(s,{information:d,isPost:e.kind===`post`,navigation:(()=>{let e=O(t);return(d.episode_cnt??0)>1&&!e.onSeriesClick?{...e,onSeriesClick:()=>F(d.id)}:e})(),isControlsVisible:$,onUserNavigate:N,onNextClick:l})]})}}),!D&&V&&z&&g(ne,{open:V,information:z,contentId:me||z.id,content_type:xe,onUpdate:we,onClose:()=>H(!1)})]})}export{y as default};
|
|
@@ -1,108 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { Dialog, DialogContent } from "../../../../ui/dialog.mjs";
|
|
5
|
-
import { useLoginModalStore } from "../../../../../store/modules/login-modal-store.mjs";
|
|
6
|
-
import SvgClose from "../../../../../assets/icons/close.mjs";
|
|
7
|
-
import CommentList from "../../../business/comment/comment-list.mjs";
|
|
8
|
-
import { useEffect, useRef, useState } from "react";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { useTranslations } from "next-intl";
|
|
11
|
-
|
|
12
|
-
//#region components/biz/basics/fullscreen-feed/runtime/comment-modal.tsx
|
|
13
|
-
const replyDetailVisibleChangeEvent = "funhub:comment-reply-detail-visible-change";
|
|
14
|
-
function CommentModal({ open, information, contentId, onClose, content_type, onUpdate }) {
|
|
15
|
-
const t = useTranslations("components.biz.basics.fullscreenFeed.runtime");
|
|
16
|
-
const [isAnimating, setIsAnimating] = useState(false);
|
|
17
|
-
const [isContactVisible, setIsContactVisible] = useState(false);
|
|
18
|
-
const [isReplyDetailVisible, setIsReplyDetailVisible] = useState(false);
|
|
19
|
-
const commentCntRef = useRef(Number(information.static?.comment_cnt || 0));
|
|
20
|
-
const resolvedContentType = content_type === 1 ? "video" : content_type === 2 ? "post" : information.links?.length ? "video" : "post";
|
|
21
|
-
const resolvedContentId = contentId || information.id;
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
if (open) setIsAnimating(true);
|
|
24
|
-
}, [open]);
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
if (typeof window === "undefined") return;
|
|
27
|
-
const contactVisibleHandler = (event) => {
|
|
28
|
-
const next = event.detail?.visible;
|
|
29
|
-
setIsContactVisible(Boolean(next));
|
|
30
|
-
};
|
|
31
|
-
const replyDetailVisibleHandler = (event) => {
|
|
32
|
-
const next = event.detail?.visible;
|
|
33
|
-
setIsReplyDetailVisible(Boolean(next));
|
|
34
|
-
};
|
|
35
|
-
window.addEventListener("funhub:visible-contact-change", contactVisibleHandler);
|
|
36
|
-
window.addEventListener(replyDetailVisibleChangeEvent, replyDetailVisibleHandler);
|
|
37
|
-
return () => {
|
|
38
|
-
window.removeEventListener("funhub:visible-contact-change", contactVisibleHandler);
|
|
39
|
-
window.removeEventListener(replyDetailVisibleChangeEvent, replyDetailVisibleHandler);
|
|
40
|
-
};
|
|
41
|
-
}, []);
|
|
42
|
-
useEffect(() => {
|
|
43
|
-
if (!open) {
|
|
44
|
-
setIsContactVisible(false);
|
|
45
|
-
setIsReplyDetailVisible(false);
|
|
46
|
-
}
|
|
47
|
-
}, [open]);
|
|
48
|
-
useEffect(() => {
|
|
49
|
-
commentCntRef.current = Number(information.static?.comment_cnt || 0);
|
|
50
|
-
}, [information.id, information.static?.comment_cnt]);
|
|
51
|
-
const handleCommentAdded = () => {
|
|
52
|
-
if (!onUpdate) return;
|
|
53
|
-
commentCntRef.current += 1;
|
|
54
|
-
onUpdate({ static: {
|
|
55
|
-
...information.static,
|
|
56
|
-
comment_cnt: commentCntRef.current
|
|
57
|
-
} });
|
|
58
|
-
};
|
|
59
|
-
const handleTotalChange = (total) => {
|
|
60
|
-
if (!onUpdate) return;
|
|
61
|
-
commentCntRef.current = Math.max(commentCntRef.current, Number(total || 0));
|
|
62
|
-
onUpdate({ static: {
|
|
63
|
-
...information.static,
|
|
64
|
-
comment_cnt: commentCntRef.current
|
|
65
|
-
} });
|
|
66
|
-
};
|
|
67
|
-
return /* @__PURE__ */ jsx(Dialog, {
|
|
68
|
-
open,
|
|
69
|
-
onOpenChange: (next) => !next && onClose(),
|
|
70
|
-
children: /* @__PURE__ */ jsxs(DialogContent, {
|
|
71
|
-
showCloseButton: false,
|
|
72
|
-
style: {
|
|
73
|
-
opacity: isContactVisible || isReplyDetailVisible ? 0 : 1,
|
|
74
|
-
transitionProperty: "transform, opacity"
|
|
75
|
-
},
|
|
76
|
-
className: `fixed !top-auto !left-0 !right-0 !-translate-x-0 !-translate-y-0 bottom-0 w-full max-w-none flex h-[540px] flex-col gap-0 border border-white/10 bg-black/95 p-0 text-white rounded-t-2xl duration-300 ease-out ${isAnimating ? "translate-y-0" : "translate-y-full"}`,
|
|
77
|
-
children: [/* @__PURE__ */ jsxs("div", {
|
|
78
|
-
className: "relative flex h-[56px] shrink-0 items-center justify-center border-b border-white/10",
|
|
79
|
-
children: [/* @__PURE__ */ jsx("button", {
|
|
80
|
-
type: "button",
|
|
81
|
-
className: "absolute left-0 top-0 flex h-full w-[48px] items-center justify-center text-white",
|
|
82
|
-
onClick: onClose,
|
|
83
|
-
children: /* @__PURE__ */ jsx(SvgClose, { className: "h-[16px] w-[16px]" })
|
|
84
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
85
|
-
className: "text-[16px] font-semibold",
|
|
86
|
-
children: t("commentModal.comment")
|
|
87
|
-
})]
|
|
88
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
89
|
-
className: "flex-1 min-h-0 overflow-y-auto",
|
|
90
|
-
children: /* @__PURE__ */ jsx(CommentList, {
|
|
91
|
-
information: {
|
|
92
|
-
id: resolvedContentId,
|
|
93
|
-
links: information.links
|
|
94
|
-
},
|
|
95
|
-
contentId: resolvedContentId,
|
|
96
|
-
contentType: resolvedContentType,
|
|
97
|
-
onCommentAdded: handleCommentAdded,
|
|
98
|
-
onTotalChange: handleTotalChange,
|
|
99
|
-
onReplyDetailVisibleChange: setIsReplyDetailVisible,
|
|
100
|
-
onRequireLogin: () => useLoginModalStore.getState().open()
|
|
101
|
-
})
|
|
102
|
-
})]
|
|
103
|
-
})
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
//#endregion
|
|
108
|
-
export { CommentModal as default };
|
|
2
|
+
"use client";import{Dialog as e,DialogContent as t}from"../../../../ui/dialog.mjs";import{useLoginModalStore as n}from"../../../../../store/modules/login-modal-store.mjs";import r from"../../../../../assets/icons/close.mjs";import i from"../../../business/comment/comment-list.mjs";import{useEffect as a,useRef as o,useState as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";import{useTranslations as u}from"next-intl";const d=`funhub:comment-reply-detail-visible-change`;function f({open:f,information:p,contentId:m,onClose:h,content_type:g,onUpdate:_}){let v=u(`components.biz.basics.fullscreenFeed.runtime`),[y,b]=s(!1),[x,S]=s(!1),[C,w]=s(!1),T=o(Number(p.static?.comment_cnt||0)),E=g===1?`video`:g===2?`post`:p.links?.length?`video`:`post`,D=m||p.id;return a(()=>{f&&b(!0)},[f]),a(()=>{if(typeof window>`u`)return;let e=e=>{let t=e.detail?.visible;S(!!t)},t=e=>{let t=e.detail?.visible;w(!!t)};return window.addEventListener(`funhub:visible-contact-change`,e),window.addEventListener(d,t),()=>{window.removeEventListener(`funhub:visible-contact-change`,e),window.removeEventListener(d,t)}},[]),a(()=>{f||(S(!1),w(!1))},[f]),a(()=>{T.current=Number(p.static?.comment_cnt||0)},[p.id,p.static?.comment_cnt]),c(e,{open:f,onOpenChange:e=>!e&&h(),children:l(t,{showCloseButton:!1,style:{opacity:x||C?0:1,transitionProperty:`transform, opacity`},className:`fixed !top-auto !left-0 !right-0 !-translate-x-0 !-translate-y-0 bottom-0 w-full max-w-none flex h-[540px] flex-col gap-0 border border-white/10 bg-black/95 p-0 text-white rounded-t-2xl duration-300 ease-out ${y?`translate-y-0`:`translate-y-full`}`,children:[l(`div`,{className:`relative flex h-[56px] shrink-0 items-center justify-center border-b border-white/10`,children:[c(`button`,{type:`button`,className:`absolute left-0 top-0 flex h-full w-[48px] items-center justify-center text-white`,onClick:h,children:c(r,{className:`h-[16px] w-[16px]`})}),c(`span`,{className:`text-[16px] font-semibold`,children:v(`commentModal.comment`)})]}),c(`div`,{className:`flex-1 min-h-0 overflow-y-auto`,children:c(i,{information:{id:D,links:p.links},contentId:D,contentType:E,onCommentAdded:()=>{_&&(T.current+=1,_({static:{...p.static,comment_cnt:T.current}}))},onTotalChange:e=>{_&&(T.current=Math.max(T.current,Number(e||0)),_({static:{...p.static,comment_cnt:T.current}}))},onReplyDetailVisibleChange:w,onRequireLogin:()=>n.getState().open()})})]})})}export{f as default};
|
|
@@ -1,135 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region components/biz/basics/fullscreen-feed/runtime/interaction-sync.ts
|
|
5
|
-
/**
|
|
6
|
-
* 将互动状态列表转换为 Map,便于按 content_id 更新。
|
|
7
|
-
*/
|
|
8
|
-
function buildInteractionMap(list) {
|
|
9
|
-
const map = /* @__PURE__ */ new Map();
|
|
10
|
-
if (!Array.isArray(list)) return map;
|
|
11
|
-
list.forEach((item) => {
|
|
12
|
-
const id = item?.content_id ? String(item.content_id) : "";
|
|
13
|
-
if (!id) return;
|
|
14
|
-
map.set(id, item);
|
|
15
|
-
});
|
|
16
|
-
return map;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* 将互动状态写回内容信息。
|
|
20
|
-
*/
|
|
21
|
-
function applyInteractionToInfo(info, interaction) {
|
|
22
|
-
const nextIsLiked = interaction.is_liked || false;
|
|
23
|
-
const nextIsDisliked = interaction.is_disliked || false;
|
|
24
|
-
const nextIsCollected = interaction.is_collected || false;
|
|
25
|
-
const nextIsFollowed = typeof interaction.is_followed === "boolean" ? interaction.is_followed : info.is_followed;
|
|
26
|
-
const rawLikeCnt = info.static?.like_cnt;
|
|
27
|
-
const shouldFixLikeCnt = nextIsLiked && (typeof rawLikeCnt === "number" ? rawLikeCnt : Number(rawLikeCnt || 0)) === 0;
|
|
28
|
-
const rawCollectCnt = info.static?.collect_cnt;
|
|
29
|
-
const shouldFixCollectCnt = nextIsCollected && (typeof rawCollectCnt === "number" ? rawCollectCnt : Number(rawCollectCnt || 0)) === 0;
|
|
30
|
-
const nextStatic = shouldFixLikeCnt || shouldFixCollectCnt ? {
|
|
31
|
-
...info.static || {},
|
|
32
|
-
...shouldFixLikeCnt ? { like_cnt: 1 } : {},
|
|
33
|
-
...shouldFixCollectCnt ? { collect_cnt: 1 } : {}
|
|
34
|
-
} : info.static;
|
|
35
|
-
if (info.is_liked === nextIsLiked && info.is_dislike === nextIsDisliked && info.is_collected === nextIsCollected && info.is_followed === nextIsFollowed && nextStatic === info.static) return info;
|
|
36
|
-
return {
|
|
37
|
-
...info,
|
|
38
|
-
is_liked: nextIsLiked,
|
|
39
|
-
is_dislike: nextIsDisliked,
|
|
40
|
-
is_collected: nextIsCollected,
|
|
41
|
-
is_followed: nextIsFollowed,
|
|
42
|
-
static: nextStatic
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* 收集需要查询互动状态的内容 ID(按类型区分)。
|
|
47
|
-
*/
|
|
48
|
-
function collectPendingInteractionIds(items, checked) {
|
|
49
|
-
const pendingVideoIds = [];
|
|
50
|
-
const pendingPostIds = [];
|
|
51
|
-
items.forEach((item) => {
|
|
52
|
-
if (!item?.id) return;
|
|
53
|
-
if (item.kind === "video") {
|
|
54
|
-
if (checked.video.has(item.id)) return;
|
|
55
|
-
checked.video.add(item.id);
|
|
56
|
-
pendingVideoIds.push(item.id);
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (item.kind === "post") {
|
|
60
|
-
if (checked.post.has(item.id)) return;
|
|
61
|
-
checked.post.add(item.id);
|
|
62
|
-
pendingPostIds.push(item.id);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
return {
|
|
66
|
-
pendingVideoIds,
|
|
67
|
-
pendingPostIds
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* 收集需要查询互动状态的剧集 ID。
|
|
72
|
-
*/
|
|
73
|
-
function collectPendingInteractionIdsFromInfos(infos, checked) {
|
|
74
|
-
const pendingIds = [];
|
|
75
|
-
infos.forEach((info) => {
|
|
76
|
-
const id = info?.id ? String(info.id) : "";
|
|
77
|
-
if (!id) return;
|
|
78
|
-
if (checked.has(id)) return;
|
|
79
|
-
checked.add(id);
|
|
80
|
-
pendingIds.push(id);
|
|
81
|
-
});
|
|
82
|
-
return pendingIds;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* 将互动状态合并到 FeedItem 列表。
|
|
86
|
-
*/
|
|
87
|
-
function mergeInteractionIntoFeedItems(items, videoMap, postMap) {
|
|
88
|
-
if (videoMap.size === 0 && postMap.size === 0) return items;
|
|
89
|
-
let hasChanges = false;
|
|
90
|
-
const next = items.map((item) => {
|
|
91
|
-
if (item.kind === "video") {
|
|
92
|
-
const interaction = videoMap.get(item.id);
|
|
93
|
-
if (!interaction) return item;
|
|
94
|
-
const nextInfo = applyInteractionToInfo(item.originalData, interaction);
|
|
95
|
-
if (nextInfo === item.originalData) return item;
|
|
96
|
-
hasChanges = true;
|
|
97
|
-
return {
|
|
98
|
-
...item,
|
|
99
|
-
originalData: nextInfo
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
if (item.kind === "post") {
|
|
103
|
-
const interaction = postMap.get(item.id);
|
|
104
|
-
if (!interaction) return item;
|
|
105
|
-
const nextInfo = applyInteractionToInfo(item.originalData, interaction);
|
|
106
|
-
if (nextInfo === item.originalData) return item;
|
|
107
|
-
hasChanges = true;
|
|
108
|
-
return {
|
|
109
|
-
...item,
|
|
110
|
-
originalData: nextInfo
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
return item;
|
|
114
|
-
});
|
|
115
|
-
return hasChanges ? next : items;
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* 将互动状态合并到 infos 列表。
|
|
119
|
-
*/
|
|
120
|
-
function mergeInteractionIntoInfos(infos, interactionMap) {
|
|
121
|
-
if (interactionMap.size === 0) return infos;
|
|
122
|
-
let hasChanges = false;
|
|
123
|
-
const next = infos.map((info) => {
|
|
124
|
-
const interaction = interactionMap.get(String(info.id));
|
|
125
|
-
if (!interaction) return info;
|
|
126
|
-
const nextInfo = applyInteractionToInfo(info, interaction);
|
|
127
|
-
if (nextInfo === info) return info;
|
|
128
|
-
hasChanges = true;
|
|
129
|
-
return nextInfo;
|
|
130
|
-
});
|
|
131
|
-
return hasChanges ? next : infos;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
//#endregion
|
|
135
|
-
export { buildInteractionMap, collectPendingInteractionIds, collectPendingInteractionIdsFromInfos, mergeInteractionIntoFeedItems, mergeInteractionIntoInfos };
|
|
2
|
+
"use client";function e(e){let t=new Map;return Array.isArray(e)&&e.forEach(e=>{let n=e?.content_id?String(e.content_id):``;n&&t.set(n,e)}),t}function t(e,t){let n=t.is_liked||!1,r=t.is_disliked||!1,i=t.is_collected||!1,a=typeof t.is_followed==`boolean`?t.is_followed:e.is_followed,o=e.static?.like_cnt,s=n&&(typeof o==`number`?o:Number(o||0))===0,c=e.static?.collect_cnt,l=i&&(typeof c==`number`?c:Number(c||0))===0,u=s||l?{...e.static||{},...s?{like_cnt:1}:{},...l?{collect_cnt:1}:{}}:e.static;return e.is_liked===n&&e.is_dislike===r&&e.is_collected===i&&e.is_followed===a&&u===e.static?e:{...e,is_liked:n,is_dislike:r,is_collected:i,is_followed:a,static:u}}function n(e,t){let n=[],r=[];return e.forEach(e=>{if(e?.id){if(e.kind===`video`){if(t.video.has(e.id))return;t.video.add(e.id),n.push(e.id);return}if(e.kind===`post`){if(t.post.has(e.id))return;t.post.add(e.id),r.push(e.id)}}}),{pendingVideoIds:n,pendingPostIds:r}}function r(e,t){let n=[];return e.forEach(e=>{let r=e?.id?String(e.id):``;r&&(t.has(r)||(t.add(r),n.push(r)))}),n}function i(e,n,r){if(n.size===0&&r.size===0)return e;let i=!1,a=e.map(e=>{if(e.kind===`video`){let r=n.get(e.id);if(!r)return e;let a=t(e.originalData,r);return a===e.originalData?e:(i=!0,{...e,originalData:a})}if(e.kind===`post`){let n=r.get(e.id);if(!n)return e;let a=t(e.originalData,n);return a===e.originalData?e:(i=!0,{...e,originalData:a})}return e});return i?a:e}function a(e,n){if(n.size===0)return e;let r=!1,i=e.map(e=>{let i=n.get(String(e.id));if(!i)return e;let a=t(e,i);return a===e?e:(r=!0,a)});return r?i:e}export{e as buildInteractionMap,n as collectPendingInteractionIds,r as collectPendingInteractionIdsFromInfos,i as mergeInteractionIntoFeedItems,a as mergeInteractionIntoInfos};
|