function anonymous( ) { const _Vue = Vue const { createElementVNode: _createElementVNode, createCommentVNode: _createCommentVNode } = _Vue const _hoisted_1 = ["onClick"] const _hoisted_2 = { class: "modal-card" } const _hoisted_3 = { key: 0, class: "modal-card-body" } const _hoisted_4 = { class: "panel is-shadowless" } const _hoisted_5 = { class: "panel-tabs" } const _hoisted_6 = ["onClick"] const _hoisted_7 = ["onClick"] const _hoisted_8 = ["onClick"] const _hoisted_9 = ["onClick"] const _hoisted_10 = ["onClick"] const _hoisted_11 = { key: 0, class: "is-flex-center p-6" } const _hoisted_12 = /*#__PURE__*/_createElementVNode("button", { class: "is-loading is-large button is-outlined is-ghost" }, null, -1) const _hoisted_13 = [_hoisted_12] const _hoisted_14 = ["onClick"] const _hoisted_15 = { class: "panel-icon" } const _hoisted_16 = ["innerHTML"] const _hoisted_17 = { key: 1, class: "is-flex-grow-1 has-text-line-1" } const _hoisted_18 = { class: "button is-ghost has-text-grey-darker" } const _hoisted_19 = { class: "icon" } const _hoisted_20 = { key: 2, class: "hero" } const _hoisted_21 = /*#__PURE__*/_createElementVNode("div", { class: "hero-body" }, [/*#__PURE__*/_createElementVNode("p", { class: "title has-text-centered is-size-3" }, "暂无消息")], -1) const _hoisted_22 = [_hoisted_21] const _hoisted_23 = { key: 0, class: "pagination is-centered mt-3" } const _hoisted_24 = { class: "pagination-list" } const _hoisted_25 = ["onClick"] const _hoisted_26 = ["onClick"] const _hoisted_27 = /*#__PURE__*/_createElementVNode("span", { class: "pagination-link" }, "1", -1) const _hoisted_28 = [_hoisted_27] const _hoisted_29 = { key: 1 } const _hoisted_30 = /*#__PURE__*/_createElementVNode("span", { class: "pagination-ellipsis" }, "…", -1) const _hoisted_31 = [_hoisted_30] const _hoisted_32 = ["onClick"] const _hoisted_33 = { class: "pagination-link" } const _hoisted_34 = { key: 2 } const _hoisted_35 = /*#__PURE__*/_createElementVNode("span", { class: "pagination-ellipsis" }, "…", -1) const _hoisted_36 = [_hoisted_35] const _hoisted_37 = ["onClick"] const _hoisted_38 = { class: "pagination-link" } const _hoisted_39 = ["onClick"] const _hoisted_40 = { class: "modal-card-foot is-justify-content-flex-end" } const _hoisted_41 = ["onClick"] return function render(_ctx, _cache) { with (_ctx) { const { createElementVNode: _createElementVNode, normalizeClass: _normalizeClass, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, renderList: _renderList, Fragment: _Fragment, toDisplayString: _toDisplayString } = _Vue return (_openBlock(), _createElementBlock("div", { class: _normalizeClass(["modal", {'is-active': visible}]) }, [_createElementVNode("div", { class: "modal-background", onClick: hide }, null, 8, _hoisted_1), _createElementVNode("div", _hoisted_2, [visible ? (_openBlock(), _createElementBlock("section", _hoisted_3, [_createElementVNode("article", _hoisted_4, [_createElementVNode("p", _hoisted_5, [ _createElementVNode("a", { class: _normalizeClass(["is-size-5", {'is-active': !module}]), onClick: $event => (module=null) }, "全部", 10, _hoisted_6), _createElementVNode("a", { class: _normalizeClass(["is-size-5", {'is-active': module == 'system'}]), onClick: $event => (module='system') }, "系统", 10, _hoisted_7), _createElementVNode("a", { class: _normalizeClass(["is-size-5", {'is-active': module == 'user'}]), onClick: $event => (module='user') }, "私信", 10, _hoisted_8), _createElementVNode("a", { class: _normalizeClass(["is-size-5", {'is-active': module == 'comment'}]), onClick: $event => (module='comment') }, "评论", 10, _hoisted_9), _createElementVNode("a", { class: _normalizeClass(["is-size-5", {'is-active': module == 'forumbee'}]), onClick: $event => (module='forumbee') }, "论坛", 10, _hoisted_10) ]), loading ? (_openBlock(), _createElementBlock("div", _hoisted_11, _hoisted_13)) : (provider.list?.length) ? (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(provider.list, (message) => { return (_openBlock(), _createElementBlock("p", { key: message.id, class: _normalizeClass(["panel-block", {'has-text-weight-bold': !message.has_read, 'is-active': message.id == active}]), onClick: $event => (click(message)) }, [_createElementVNode("span", _hoisted_15, [_createElementVNode("i", { class: _normalizeClass(["fas", {['fa-' + message.module]: 1}]), "aria-hidden": "true" }, null, 2)]), (message.id === active) ? (_openBlock(), _createElementBlock("div", { key: 0, class: "is-flex-grow-1", innerHTML: message.content }, null, 8, _hoisted_16)) : (_openBlock(), _createElementBlock("div", _hoisted_17, _toDisplayString(strip_tags(message.content)), 1)), _createElementVNode("button", _hoisted_18, [_createElementVNode("span", _hoisted_19, [_createElementVNode("i", { class: _normalizeClass(["fas", {'fa-angle-up': message.id == active, 'fa-angle-down': message.id !== active}]) }, null, 2)])])], 10, _hoisted_14)) }), 128)) : (_openBlock(), _createElementBlock("div", _hoisted_20, _hoisted_22))]), (provider.pages > 1) ? (_openBlock(), _createElementBlock("div", _hoisted_23, [_createElementVNode("ul", _hoisted_24, [ _createElementVNode("li", { onClick: $event => (setPage(provider.page-1)) }, [_createElementVNode("span", { class: _normalizeClass(["pagination-link", {'is-disabled': provider.page === 1}]) }, "«", 2)], 8, _hoisted_25), (startEnd.start > 1) ? (_openBlock(), _createElementBlock("li", { key: 0, onClick: $event => (setPage(1)), class: _normalizeClass({'is-current': provider.page === 1}) }, _hoisted_28, 10, _hoisted_26)) : _createCommentVNode("", true), (startEnd.start > 2) ? (_openBlock(), _createElementBlock("li", _hoisted_29, _hoisted_31)) : _createCommentVNode("", true), (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(startEnd.end, (count, index) => { return (_openBlock(), _createElementBlock(_Fragment, { key: index }, [(count >= startEnd.start) ? (_openBlock(), _createElementBlock("li", { key: 0, onClick: $event => (setPage(count)), class: _normalizeClass({'is-current': count === provider.page}) }, [_createElementVNode("span", _hoisted_33, _toDisplayString(count), 1)], 10, _hoisted_32)) : _createCommentVNode("", true)], 64)) }), 128)), (startEnd.end < provider.pages - 1) ? (_openBlock(), _createElementBlock("li", _hoisted_34, _hoisted_36)) : _createCommentVNode("", true), (startEnd.end < provider.pages) ? (_openBlock(), _createElementBlock("li", { key: 3, onClick: $event => (setPage(provider.pages)), class: _normalizeClass({'is-current': provider.page == provider.pages}) }, [_createElementVNode("span", _hoisted_38, _toDisplayString(provider.pages), 1)], 10, _hoisted_37)) : _createCommentVNode("", true), _createElementVNode("li", { onClick: $event => (setPage(provider.page+1)) }, [_createElementVNode("span", { class: _normalizeClass(["pagination-link", {'is-disabled': provider.page === provider.pages}]) }, "»", 2)], 8, _hoisted_39) ])])) : _createCommentVNode("", true)])) : _createCommentVNode("", true), _createElementVNode("footer", _hoisted_40, [_createElementVNode("button", { type: "button", class: "button is-danger", onClick: hide }, "关闭", 8, _hoisted_41)])])], 2)) } } }