2018-06-26 15:33:51 +02:00
|
|
|
#include "common/Channel.hpp"
|
2018-04-27 22:11:19 +02:00
|
|
|
|
2018-06-26 14:09:39 +02:00
|
|
|
#include "Application.hpp"
|
|
|
|
#include "messages/Message.hpp"
|
2018-08-07 01:35:24 +02:00
|
|
|
#include "messages/MessageBuilder.hpp"
|
2022-07-02 11:42:28 +02:00
|
|
|
#include "providers/irc/IrcChannel2.hpp"
|
|
|
|
#include "providers/irc/IrcServer.hpp"
|
2020-02-02 14:31:37 +01:00
|
|
|
#include "providers/twitch/IrcMessageHandler.hpp"
|
2018-06-28 19:46:45 +02:00
|
|
|
#include "singletons/Emotes.hpp"
|
|
|
|
#include "singletons/Logging.hpp"
|
2019-07-28 13:19:17 +02:00
|
|
|
#include "singletons/Settings.hpp"
|
2018-06-26 14:09:39 +02:00
|
|
|
#include "singletons/WindowManager.hpp"
|
2023-08-13 12:00:52 +02:00
|
|
|
#include "util/ChannelHelpers.hpp"
|
2017-01-01 13:07:36 +01:00
|
|
|
|
2017-01-26 17:48:14 +01:00
|
|
|
#include <QJsonArray>
|
|
|
|
#include <QJsonDocument>
|
|
|
|
#include <QJsonObject>
|
|
|
|
#include <QJsonValue>
|
|
|
|
#include <QNetworkAccessManager>
|
|
|
|
#include <QNetworkReply>
|
|
|
|
#include <QNetworkRequest>
|
2017-03-11 11:39:59 +01:00
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace chatterino {
|
2017-01-18 21:30:23 +01:00
|
|
|
|
2018-08-10 19:00:14 +02:00
|
|
|
//
|
|
|
|
// Channel
|
|
|
|
//
|
2018-08-02 14:23:27 +02:00
|
|
|
Channel::Channel(const QString &name, Type type)
|
2023-09-24 14:17:17 +02:00
|
|
|
: completionModel(*this, nullptr)
|
2021-05-09 18:44:57 +02:00
|
|
|
, lastDate_(QDate::currentDate())
|
2018-08-02 14:23:27 +02:00
|
|
|
, name_(name)
|
2023-04-01 14:34:34 +02:00
|
|
|
, messages_(getSettings()->scrollbackSplitLimit)
|
2018-07-06 18:10:21 +02:00
|
|
|
, type_(type)
|
2017-01-01 13:07:36 +01:00
|
|
|
{
|
2024-07-13 13:15:11 +02:00
|
|
|
if (this->isTwitchChannel())
|
|
|
|
{
|
|
|
|
this->platform_ = "twitch";
|
|
|
|
}
|
|
|
|
|
|
|
|
// Irc platform is set through IrcChannel2 ctor
|
2017-01-07 20:43:55 +01:00
|
|
|
}
|
2017-01-05 16:07:20 +01:00
|
|
|
|
2018-02-05 15:11:50 +01:00
|
|
|
Channel::~Channel()
|
|
|
|
{
|
|
|
|
this->destroyed.invoke();
|
|
|
|
}
|
|
|
|
|
2018-04-18 09:12:29 +02:00
|
|
|
Channel::Type Channel::getType() const
|
|
|
|
{
|
2018-07-06 17:30:12 +02:00
|
|
|
return this->type_;
|
2018-04-18 09:12:29 +02:00
|
|
|
}
|
|
|
|
|
2018-08-02 14:23:27 +02:00
|
|
|
const QString &Channel::getName() const
|
|
|
|
{
|
|
|
|
return this->name_;
|
|
|
|
}
|
|
|
|
|
2019-03-01 21:18:32 +01:00
|
|
|
const QString &Channel::getDisplayName() const
|
|
|
|
{
|
|
|
|
return this->getName();
|
|
|
|
}
|
|
|
|
|
2020-12-06 14:07:33 +01:00
|
|
|
const QString &Channel::getLocalizedName() const
|
|
|
|
{
|
|
|
|
return this->getName();
|
|
|
|
}
|
|
|
|
|
2018-05-25 13:53:55 +02:00
|
|
|
bool Channel::isTwitchChannel() const
|
|
|
|
{
|
2018-07-06 17:30:12 +02:00
|
|
|
return this->type_ >= Type::Twitch && this->type_ < Type::TwitchEnd;
|
2018-05-25 13:53:55 +02:00
|
|
|
}
|
|
|
|
|
2017-04-12 17:46:44 +02:00
|
|
|
bool Channel::isEmpty() const
|
|
|
|
{
|
2018-08-02 14:23:27 +02:00
|
|
|
return this->name_.isEmpty();
|
2017-01-26 17:26:20 +01:00
|
|
|
}
|
|
|
|
|
2020-06-21 14:15:14 +02:00
|
|
|
bool Channel::hasMessages() const
|
|
|
|
{
|
|
|
|
return !this->messages_.empty();
|
|
|
|
}
|
|
|
|
|
2018-06-28 19:38:57 +02:00
|
|
|
LimitedQueueSnapshot<MessagePtr> Channel::getMessageSnapshot()
|
2017-01-26 17:26:20 +01:00
|
|
|
{
|
2018-07-06 17:30:12 +02:00
|
|
|
return this->messages_.getSnapshot();
|
2017-04-12 17:46:44 +02:00
|
|
|
}
|
2017-01-26 17:26:20 +01:00
|
|
|
|
2024-07-13 13:15:11 +02:00
|
|
|
void Channel::addMessage(MessagePtr message, MessageContext context,
|
2023-10-08 18:50:48 +02:00
|
|
|
std::optional<MessageFlags> overridingFlags)
|
2017-04-12 17:46:44 +02:00
|
|
|
{
|
2018-01-11 20:16:25 +01:00
|
|
|
MessagePtr deleted;
|
2017-01-26 17:26:20 +01:00
|
|
|
|
2024-07-13 13:15:11 +02:00
|
|
|
if (context == MessageContext::Original)
|
2018-10-21 13:43:02 +02:00
|
|
|
{
|
2024-07-13 13:15:11 +02:00
|
|
|
// Only log original messages
|
|
|
|
auto isDoNotLogSet =
|
|
|
|
(overridingFlags && overridingFlags->has(MessageFlag::DoNotLog)) ||
|
|
|
|
message->flags.has(MessageFlag::DoNotLog);
|
|
|
|
|
|
|
|
if (!isDoNotLogSet)
|
2022-07-02 11:42:28 +02:00
|
|
|
{
|
2024-07-13 13:15:11 +02:00
|
|
|
// Only log messages where the `DoNotLog` flag is not set
|
|
|
|
getIApp()->getChatLogger()->addMessage(this->name_, message,
|
2024-07-14 11:45:21 +02:00
|
|
|
this->platform_,
|
|
|
|
this->getCurrentStreamID());
|
2022-07-02 11:42:28 +02:00
|
|
|
}
|
2018-06-21 13:02:34 +02:00
|
|
|
}
|
2017-01-26 17:26:20 +01:00
|
|
|
|
2018-10-21 13:43:02 +02:00
|
|
|
if (this->messages_.pushBack(message, deleted))
|
|
|
|
{
|
2023-09-16 13:52:51 +02:00
|
|
|
this->messageRemovedFromStart(deleted);
|
2018-05-17 13:43:01 +02:00
|
|
|
}
|
|
|
|
|
2018-10-05 23:33:01 +02:00
|
|
|
this->messageAppended.invoke(message, overridingFlags);
|
2018-05-17 13:43:01 +02:00
|
|
|
}
|
|
|
|
|
2024-07-07 22:03:05 +02:00
|
|
|
void Channel::addSystemMessage(const QString &contents)
|
|
|
|
{
|
|
|
|
auto msg = makeSystemMessage(contents);
|
2024-07-13 13:15:11 +02:00
|
|
|
this->addMessage(msg, MessageContext::Original);
|
2024-07-07 22:03:05 +02:00
|
|
|
}
|
|
|
|
|
2018-06-28 19:38:57 +02:00
|
|
|
void Channel::addOrReplaceTimeout(MessagePtr message)
|
2018-05-17 13:43:01 +02:00
|
|
|
{
|
2023-08-13 12:00:52 +02:00
|
|
|
addOrReplaceChannelTimeout(
|
|
|
|
this->getMessageSnapshot(), std::move(message), QTime::currentTime(),
|
|
|
|
[this](auto /*idx*/, auto msg, auto replacement) {
|
|
|
|
this->replaceMessage(msg, replacement);
|
|
|
|
},
|
|
|
|
[this](auto msg) {
|
2024-07-13 13:15:11 +02:00
|
|
|
this->addMessage(msg, MessageContext::Original);
|
2023-08-13 12:00:52 +02:00
|
|
|
},
|
|
|
|
true);
|
2018-05-17 13:43:01 +02:00
|
|
|
|
|
|
|
// XXX: Might need the following line
|
2019-10-07 22:42:34 +02:00
|
|
|
// WindowManager::instance().repaintVisibleChatWidgets(this);
|
2017-04-12 17:46:44 +02:00
|
|
|
}
|
2017-01-26 17:26:20 +01:00
|
|
|
|
2018-06-22 23:44:02 +02:00
|
|
|
void Channel::disableAllMessages()
|
|
|
|
{
|
|
|
|
LimitedQueueSnapshot<MessagePtr> snapshot = this->getMessageSnapshot();
|
2018-11-03 21:26:57 +01:00
|
|
|
int snapshotLength = snapshot.size();
|
2018-10-21 13:43:02 +02:00
|
|
|
for (int i = 0; i < snapshotLength; i++)
|
|
|
|
{
|
2024-01-14 17:54:52 +01:00
|
|
|
const auto &message = snapshot[i];
|
2019-03-20 20:46:20 +01:00
|
|
|
if (message->flags.hasAny({MessageFlag::System, MessageFlag::Timeout,
|
|
|
|
MessageFlag::Whisper}))
|
2018-10-21 13:43:02 +02:00
|
|
|
{
|
2018-06-22 23:44:02 +02:00
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
2018-08-07 01:35:24 +02:00
|
|
|
// FOURTF: disabled for now
|
2018-08-14 17:45:17 +02:00
|
|
|
const_cast<Message *>(message.get())->flags.set(MessageFlag::Disabled);
|
2018-06-22 23:44:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-06 18:18:34 +02:00
|
|
|
void Channel::addMessagesAtStart(const std::vector<MessagePtr> &_messages)
|
2018-01-01 22:29:21 +01:00
|
|
|
{
|
2018-08-06 21:17:03 +02:00
|
|
|
std::vector<MessagePtr> addedMessages =
|
|
|
|
this->messages_.pushFront(_messages);
|
2018-01-01 22:29:21 +01:00
|
|
|
|
2018-10-21 13:43:02 +02:00
|
|
|
if (addedMessages.size() != 0)
|
|
|
|
{
|
2018-04-03 02:55:32 +02:00
|
|
|
this->messagesAddedAtStart.invoke(addedMessages);
|
2018-01-01 22:29:21 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-06 18:18:34 +02:00
|
|
|
void Channel::fillInMissingMessages(const std::vector<MessagePtr> &messages)
|
|
|
|
{
|
2022-08-20 11:01:16 +02:00
|
|
|
if (messages.empty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2022-08-06 18:18:34 +02:00
|
|
|
auto snapshot = this->getMessageSnapshot();
|
2022-08-20 11:01:16 +02:00
|
|
|
if (snapshot.size() == 0)
|
|
|
|
{
|
|
|
|
// There are no messages in this channel yet so we can just insert them
|
|
|
|
// at the front in order
|
|
|
|
this->messages_.pushFront(messages);
|
|
|
|
this->filledInMessages.invoke(messages);
|
|
|
|
return;
|
|
|
|
}
|
2022-08-06 18:18:34 +02:00
|
|
|
|
|
|
|
std::unordered_set<QString> existingMessageIds;
|
|
|
|
existingMessageIds.reserve(snapshot.size());
|
|
|
|
|
|
|
|
// First, collect the ids of every message already present in the channel
|
2024-01-14 17:54:52 +01:00
|
|
|
for (const auto &msg : snapshot)
|
2022-08-06 18:18:34 +02:00
|
|
|
{
|
|
|
|
if (msg->flags.has(MessageFlag::System) || msg->id.isEmpty())
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
existingMessageIds.insert(msg->id);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool anyInserted = false;
|
|
|
|
|
|
|
|
// Keep track of the last message in the channel. We need this value
|
|
|
|
// to allow concurrent appends to the end of the channel while still
|
|
|
|
// being able to insert just-loaded historical messages at the end
|
|
|
|
// in the correct place.
|
|
|
|
auto lastMsg = snapshot[snapshot.size() - 1];
|
2024-01-14 17:54:52 +01:00
|
|
|
for (const auto &msg : messages)
|
2022-08-06 18:18:34 +02:00
|
|
|
{
|
|
|
|
// check if message already exists
|
|
|
|
if (existingMessageIds.count(msg->id) != 0)
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
// If we get to this point, we know we'll be inserting a message
|
|
|
|
anyInserted = true;
|
|
|
|
|
|
|
|
bool insertedFlag = false;
|
2024-01-14 17:54:52 +01:00
|
|
|
for (const auto &snapshotMsg : snapshot)
|
2022-08-06 18:18:34 +02:00
|
|
|
{
|
|
|
|
if (snapshotMsg->flags.has(MessageFlag::System))
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (msg->serverReceivedTime < snapshotMsg->serverReceivedTime)
|
|
|
|
{
|
|
|
|
// We found the first message that comes after the current message.
|
|
|
|
// Therefore, we can put the current message directly before. We
|
|
|
|
// assume that the messages we are filling in are in ascending
|
|
|
|
// order by serverReceivedTime.
|
|
|
|
this->messages_.insertBefore(snapshotMsg, msg);
|
|
|
|
insertedFlag = true;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!insertedFlag)
|
|
|
|
{
|
|
|
|
// We never found a message already in the channel that came after
|
|
|
|
// the current message. Put it at the end and make sure to update
|
|
|
|
// which message is considered "the end".
|
|
|
|
this->messages_.insertAfter(lastMsg, msg);
|
|
|
|
lastMsg = msg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (anyInserted)
|
|
|
|
{
|
|
|
|
// We only invoke a signal once at the end of filling all messages to
|
|
|
|
// prevent doing any unnecessary repaints.
|
|
|
|
this->filledInMessages.invoke(messages);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-28 19:38:57 +02:00
|
|
|
void Channel::replaceMessage(MessagePtr message, MessagePtr replacement)
|
2018-01-05 23:14:55 +01:00
|
|
|
{
|
2018-07-06 17:30:12 +02:00
|
|
|
int index = this->messages_.replaceItem(message, replacement);
|
2018-01-05 23:14:55 +01:00
|
|
|
|
2018-10-21 13:43:02 +02:00
|
|
|
if (index >= 0)
|
|
|
|
{
|
2018-04-03 02:55:32 +02:00
|
|
|
this->messageReplaced.invoke((size_t)index, replacement);
|
2018-01-05 23:14:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-18 15:16:56 +02:00
|
|
|
void Channel::replaceMessage(size_t index, MessagePtr replacement)
|
|
|
|
{
|
|
|
|
if (this->messages_.replaceItem(index, replacement))
|
|
|
|
{
|
|
|
|
this->messageReplaced.invoke(index, replacement);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-19 22:44:02 +02:00
|
|
|
void Channel::deleteMessage(QString messageID)
|
2021-06-06 17:51:57 +02:00
|
|
|
{
|
|
|
|
auto msg = this->findMessage(messageID);
|
|
|
|
if (msg != nullptr)
|
|
|
|
{
|
|
|
|
msg->flags.set(MessageFlag::Disabled);
|
|
|
|
}
|
|
|
|
}
|
2022-06-18 12:44:48 +02:00
|
|
|
|
2021-06-06 17:51:57 +02:00
|
|
|
MessagePtr Channel::findMessage(QString messageID)
|
2019-04-19 22:44:02 +02:00
|
|
|
{
|
2022-06-18 12:44:48 +02:00
|
|
|
MessagePtr res;
|
2019-04-19 22:44:02 +02:00
|
|
|
|
2022-06-18 12:44:48 +02:00
|
|
|
if (auto msg = this->messages_.rfind([&messageID](const MessagePtr &msg) {
|
|
|
|
return msg->id == messageID;
|
|
|
|
});
|
|
|
|
msg)
|
2019-04-19 22:44:02 +02:00
|
|
|
{
|
2022-06-18 12:44:48 +02:00
|
|
|
res = *msg;
|
2019-04-19 22:44:02 +02:00
|
|
|
}
|
2022-06-18 12:44:48 +02:00
|
|
|
|
|
|
|
return res;
|
2019-04-19 22:44:02 +02:00
|
|
|
}
|
|
|
|
|
2017-09-16 00:05:06 +02:00
|
|
|
bool Channel::canSendMessage() const
|
2017-04-12 17:46:44 +02:00
|
|
|
{
|
2017-09-16 00:05:06 +02:00
|
|
|
return false;
|
2017-04-12 17:46:44 +02:00
|
|
|
}
|
2017-01-26 17:26:20 +01:00
|
|
|
|
2022-07-31 12:45:25 +02:00
|
|
|
bool Channel::isWritable() const
|
|
|
|
{
|
|
|
|
using Type = Channel::Type;
|
|
|
|
auto type = this->getType();
|
2023-12-03 23:07:30 +01:00
|
|
|
return type != Type::TwitchMentions && type != Type::TwitchLive &&
|
|
|
|
type != Type::TwitchAutomod;
|
2022-07-31 12:45:25 +02:00
|
|
|
}
|
|
|
|
|
2017-05-27 17:45:40 +02:00
|
|
|
void Channel::sendMessage(const QString &message)
|
|
|
|
{
|
2017-01-05 16:07:20 +01:00
|
|
|
}
|
2017-03-11 11:32:19 +01:00
|
|
|
|
2018-04-18 09:12:29 +02:00
|
|
|
bool Channel::isMod() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-06-22 23:19:52 +02:00
|
|
|
bool Channel::isBroadcaster() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-07-04 19:43:41 +02:00
|
|
|
bool Channel::hasModRights() const
|
|
|
|
{
|
|
|
|
return this->isMod() || this->isBroadcaster();
|
|
|
|
}
|
2018-10-13 14:20:06 +02:00
|
|
|
|
2019-04-13 15:26:47 +02:00
|
|
|
bool Channel::hasHighRateLimit() const
|
|
|
|
{
|
|
|
|
return this->isMod() || this->isBroadcaster();
|
|
|
|
}
|
|
|
|
|
2018-10-13 14:20:06 +02:00
|
|
|
bool Channel::isLive() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2018-10-21 13:29:52 +02:00
|
|
|
|
2024-02-18 17:22:53 +01:00
|
|
|
bool Channel::isRerun() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2018-10-21 13:29:52 +02:00
|
|
|
bool Channel::shouldIgnoreHighlights() const
|
|
|
|
{
|
2023-12-03 23:07:30 +01:00
|
|
|
return this->type_ == Type::TwitchAutomod ||
|
|
|
|
this->type_ == Type::TwitchMentions ||
|
2018-10-21 13:29:52 +02:00
|
|
|
this->type_ == Type::TwitchWhispers;
|
|
|
|
}
|
2018-07-04 19:43:41 +02:00
|
|
|
|
2019-09-18 08:05:51 +02:00
|
|
|
bool Channel::canReconnect() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Channel::reconnect()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-07-14 11:45:21 +02:00
|
|
|
QString Channel::getCurrentStreamID() const
|
|
|
|
{
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
2018-02-05 15:11:50 +01:00
|
|
|
std::shared_ptr<Channel> Channel::getEmpty()
|
|
|
|
{
|
2018-07-06 17:30:12 +02:00
|
|
|
static std::shared_ptr<Channel> channel(new Channel("", Type::None));
|
2018-02-05 15:11:50 +01:00
|
|
|
return channel;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Channel::onConnected()
|
|
|
|
{
|
|
|
|
}
|
2018-03-30 12:16:12 +02:00
|
|
|
|
2023-09-16 13:52:51 +02:00
|
|
|
void Channel::messageRemovedFromStart(const MessagePtr &msg)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-08-10 19:00:14 +02:00
|
|
|
//
|
|
|
|
// Indirect channel
|
|
|
|
//
|
|
|
|
IndirectChannel::Data::Data(ChannelPtr _channel, Channel::Type _type)
|
2021-04-10 14:34:40 +02:00
|
|
|
: channel(std::move(_channel))
|
2018-08-10 19:00:14 +02:00
|
|
|
, type(_type)
|
2018-07-14 14:24:18 +02:00
|
|
|
{
|
2018-08-10 19:00:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
IndirectChannel::IndirectChannel(ChannelPtr channel, Channel::Type type)
|
2021-04-10 14:34:40 +02:00
|
|
|
: data_(std::make_unique<Data>(std::move(channel), type))
|
2018-08-10 19:00:14 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-06-26 18:53:09 +02:00
|
|
|
ChannelPtr IndirectChannel::get() const
|
2018-08-10 19:00:14 +02:00
|
|
|
{
|
|
|
|
return data_->channel;
|
|
|
|
}
|
|
|
|
|
|
|
|
void IndirectChannel::reset(ChannelPtr channel)
|
|
|
|
{
|
|
|
|
assert(this->data_->type != Channel::Type::Direct);
|
|
|
|
|
2021-04-10 14:34:40 +02:00
|
|
|
this->data_->channel = std::move(channel);
|
2018-08-10 19:00:14 +02:00
|
|
|
this->data_->changed.invoke();
|
|
|
|
}
|
|
|
|
|
|
|
|
pajlada::Signals::NoArgSignal &IndirectChannel::getChannelChanged()
|
|
|
|
{
|
|
|
|
return this->data_->changed;
|
|
|
|
}
|
|
|
|
|
|
|
|
Channel::Type IndirectChannel::getType()
|
|
|
|
{
|
2018-10-21 13:43:02 +02:00
|
|
|
if (this->data_->type == Channel::Type::Direct)
|
|
|
|
{
|
2018-08-10 19:00:14 +02:00
|
|
|
return this->get()->getType();
|
2018-10-21 13:43:02 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2018-08-10 19:00:14 +02:00
|
|
|
return this->data_->type;
|
|
|
|
}
|
2018-07-14 14:24:18 +02:00
|
|
|
}
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
} // namespace chatterino
|